/[gentoo-x86]/net-im/silc-toolkit/silc-toolkit-1.1.2.ebuild
Gentoo

Contents of /net-im/silc-toolkit/silc-toolkit-1.1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Jul 15 17:25:09 2007 UTC (11 years, 5 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Install the pkgconfig files correctly, thanks to Octavio Ruiz (Ta^3) <tacvbo at tacvbo dot net>, bug #185260
(Portage version: 2.1.3_rc8)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-im/silc-toolkit/silc-toolkit-1.1.2.ebuild,v 1.2 2007/07/08 19:52:16 armin76 Exp $
4
5 inherit eutils
6
7 DESCRIPTION="SDK for the SILC protocol"
8 HOMEPAGE="http://silcnet.org/"
9 SRC_URI="http://silcnet.org/download/toolkit/sources/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
14 IUSE="debug ipv6"
15
16 RDEPEND=""
17 DEPEND="dev-util/pkgconfig"
18
19 src_unpack() {
20 unpack ${A}
21
22 # They have incorrect DESTDIR usage
23 sed -i '/\$(srcdir)\/tutorial/s/\$(prefix)/\$(docdir)/' "${S}"/Makefile.{am,in}
24 }
25
26 src_compile() {
27 local myconf=""
28 use ipv6 && myconf="${myconf} --enable-ipv6"
29
30 econf \
31 --datadir=/usr/share/${PN} \
32 --datarootdir=/usr/share/${PN} \
33 --mandir=/usr/share/man \
34 --includedir=/usr/include/${PN} \
35 --sysconfdir=/etc/silc \
36 --with-helpdir=/usr/share/${PN}/help \
37 --libdir=/usr/$(get_libdir)/${PN} \
38 --docdir=/usr/share/doc/${PF} \
39 --disable-optimizations \
40 $(use_enable debug) \
41 ${myconf}
42
43 emake || die "emake failed"
44 }
45
46 src_install() {
47 emake install DESTDIR="${D}" || die "make install failed"
48
49 rm -rf \
50 "${D}"/etc/${PN}/silcd.conf \
51 "${D}"/usr/share/man \
52 "${D}"/usr/share/doc/${PF}/examples \
53 "${D}"/usr/share/silc-toolkit \
54 "${D}"/var/log/silc-toolkit \
55 "${D}"/etc/silc
56 }

  ViewVC Help
Powered by ViewVC 1.1.20