diff options
author | Andrej Kacian <ticho@gentoo.org> | 2004-09-05 11:03:27 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2004-09-05 11:03:27 +0000 |
commit | a2a1f44f89fcba92269eb2c2f4f7617c69ec7b33 (patch) | |
tree | e7cd9e49b3a12469eddbb1a0cdffcce52af59da1 /net-im/silc-toolkit | |
parent | Add ~amd64 closes bug #62762 (Manifest recommit) (diff) | |
download | gentoo-2-a2a1f44f89fcba92269eb2c2f4f7617c69ec7b33.tar.gz gentoo-2-a2a1f44f89fcba92269eb2c2f4f7617c69ec7b33.tar.bz2 gentoo-2-a2a1f44f89fcba92269eb2c2f4f7617c69ec7b33.zip |
Install silc.pc for pkg-config. Use $(get_libdir). Closes #62843.
Diffstat (limited to 'net-im/silc-toolkit')
-rw-r--r-- | net-im/silc-toolkit/ChangeLog | 7 | ||||
-rw-r--r-- | net-im/silc-toolkit/Manifest | 14 | ||||
-rw-r--r-- | net-im/silc-toolkit/files/digest-silc-toolkit-0.9.12-r3 | 1 | ||||
-rw-r--r-- | net-im/silc-toolkit/silc-toolkit-0.9.12-r3.ebuild | 79 |
4 files changed, 89 insertions, 12 deletions
diff --git a/net-im/silc-toolkit/ChangeLog b/net-im/silc-toolkit/ChangeLog index 860551ff4497..61fbae692827 100644 --- a/net-im/silc-toolkit/ChangeLog +++ b/net-im/silc-toolkit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/silc-toolkit # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/silc-toolkit/ChangeLog,v 1.24 2004/08/29 01:45:35 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/silc-toolkit/ChangeLog,v 1.25 2004/09/05 11:03:27 ticho Exp $ + + 05 Sep 2004; Andrej Kacian <ticho@gentoo.org> : + Install /usr/lib/pkgconfig/silc.pc, as some packages will need it soon. Next + official release of silc-toolkit should install this file itself, so the + ebuild will have to be adjusted. Closes #62843. Also, use $(get_libdir). 29 Aug 2004; Sven Wegener <swegener@gentoo.org> -silc-toolkit-0.9.11-r1.ebuild, -silc-toolkit-0.9.11.ebuild, diff --git a/net-im/silc-toolkit/Manifest b/net-im/silc-toolkit/Manifest index 52c62623b5a1..ca85461fa7ce 100644 --- a/net-im/silc-toolkit/Manifest +++ b/net-im/silc-toolkit/Manifest @@ -1,15 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 b08e4bf3807bf5e149b79d5b16d72ab7 ChangeLog 3602 -MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160 +MD5 bcfbbb4414a60fd8441838adbd0b07c7 silc-toolkit-0.9.12-r3.ebuild 1889 MD5 9a5e70dcc2b8cf19a19eb000d52e022d silc-toolkit-0.9.12-r2.ebuild 1598 +MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160 MD5 f5feddf04be28d35adc7b14360eac931 files/digest-silc-toolkit-0.9.12-r2 73 MD5 6c8639c61522d4e5e7ee452088000fc3 files/silc-toolkit-0.9.12-64bit_goodness.patch 4563 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.5 (GNU/Linux) - -iD8DBQFBMTVDI1lqEGTUzyQRAtE5AJ4zWi5sXYnssxR5cLuf2/RZf6PUJgCgmuwt -CcgG/MQw8LltOzUSUo0/m3s= -=FQPG ------END PGP SIGNATURE----- +MD5 f5feddf04be28d35adc7b14360eac931 files/digest-silc-toolkit-0.9.12-r3 73 diff --git a/net-im/silc-toolkit/files/digest-silc-toolkit-0.9.12-r3 b/net-im/silc-toolkit/files/digest-silc-toolkit-0.9.12-r3 new file mode 100644 index 000000000000..e96a95d05314 --- /dev/null +++ b/net-im/silc-toolkit/files/digest-silc-toolkit-0.9.12-r3 @@ -0,0 +1 @@ +MD5 f859d51fcd5284cc1bdaad0cf33a8e6a silc-toolkit-0.9.12.tar.bz2 2547108 diff --git a/net-im/silc-toolkit/silc-toolkit-0.9.12-r3.ebuild b/net-im/silc-toolkit/silc-toolkit-0.9.12-r3.ebuild new file mode 100644 index 000000000000..379843181477 --- /dev/null +++ b/net-im/silc-toolkit/silc-toolkit-0.9.12-r3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/silc-toolkit/silc-toolkit-0.9.12-r3.ebuild,v 1.1 2004/09/05 11:03:27 ticho Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="SDK for the SILC protocol" +HOMEPAGE="http://silcnet.org/" +SRC_URI="http://silcnet.org/download/toolkit/sources/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~hppa ~amd64 ~alpha ~ia64 ~mips" +IUSE="debug ipv6" + +DEPEND="!<=net-im/silc-client-1.0.1 + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd ${S} + + sed -i \ + -e 's:-cp -R $(srcdir)/tutorial $(prefix):-cp -R $(srcdir)/tutorial $(docdir):' \ + Makefile.in + sed -i \ + -e "s:-g -O2:${CFLAGS}:g" \ + configure + + # Fix for amd64 + [ "${ARCH}" = "amd64" ] && epatch ${FILESDIR}/${P}-64bit_goodness.patch +} + +src_compile() { + # Fix for amd64 + [ "${ARCH}" = "amd64" ] && append-flags -fPIC + + econf \ + --datadir=/$(get_libdir)/share/${PN} \ + --mandir=/$(get_libdir)/share/man \ + --includedir=/$(get_libdir)/include/${PN} \ + --with-etcdir=/etc/${PN} \ + --with-helpdir=/$(get_libdir)/share/${PN}/help \ + --with-simdir=/$(get_libdir)/lib/${PN} \ + --with-docdir=/$(get_libdir)/share/doc/${PF} \ + --with-logsdir=/var/log/${PN} \ + --enable-shared \ + --enable-static \ + --without-irssi \ + --without-silcd \ + `use_enable debug` \ + `use_enable ipv6` \ + || die "econf failed" + emake || die "emake failed" + emake -C lib || die "emake -C lib failed" +} + +src_install() { + make install DESTDIR=${D} || die "make install failed" + + rm -rf \ + ${D}/$(get_libdir)/share/man \ + ${D}/etc/${PN}/silcd.conf \ + ${D}/$(get_libdir)/share/doc/${PF}/{tutorial,examples} + + dodir $(get_libdir)/pkgconfig + cat >${D}/$(get_libdir)/pkgconfig/silc.pc <<EOF +prefix=/usr +exec_prefix=\${prefix} +libdir=/usr/$(get_libdir) +includedir=/usr/include + +Name: silc +Version: ${PV} +Description: SILC Library. +Libs: -L\${libdir} -lsilcclient -lsilc +Cflags: -I\${includedir}/${PN} +EOF +} |