summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-12-05 17:39:11 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-12-05 17:39:11 +0000
commit9c1b4d974ceba6b64263e04696ca594d2b065119 (patch)
tree8b4a7c82f0e63df3b3e840411f93343632109993 /net-im/silc-toolkit/silc-toolkit-1.1.5.ebuild
parentsparc stable wrt #198055 (diff)
downloadgentoo-2-9c1b4d974ceba6b64263e04696ca594d2b065119.tar.gz
gentoo-2-9c1b4d974ceba6b64263e04696ca594d2b065119.tar.bz2
gentoo-2-9c1b4d974ceba6b64263e04696ca594d2b065119.zip
Version bump with ~alpha/~ia64
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-im/silc-toolkit/silc-toolkit-1.1.5.ebuild')
-rw-r--r--net-im/silc-toolkit/silc-toolkit-1.1.5.ebuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/net-im/silc-toolkit/silc-toolkit-1.1.5.ebuild b/net-im/silc-toolkit/silc-toolkit-1.1.5.ebuild
new file mode 100644
index 000000000000..ef2d073b09b2
--- /dev/null
+++ b/net-im/silc-toolkit/silc-toolkit-1.1.5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/silc-toolkit/silc-toolkit-1.1.5.ebuild,v 1.1 2007/12/05 17:39:11 armin76 Exp $
+
+inherit eutils
+
+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="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug ipv6"
+
+RDEPEND=""
+DEPEND="dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+
+ # They have incorrect DESTDIR usage
+ sed -i '/\$(srcdir)\/tutorial/s/\$(prefix)/\$(docdir)/' "${S}"/Makefile.{am,in}
+ sed -i \
+ "s/^\(pkgconfigdir =\) \$(libdir)\/pkgconfig/\1 \/usr\/$(get_libdir)\/pkgconfig/"\
+ "${S}"/lib/Makefile.{am,in}
+}
+
+src_compile() {
+ local myconf=""
+ use ipv6 && myconf="${myconf} --enable-ipv6"
+
+ econf \
+ --datadir=/usr/share/${PN} \
+ --datarootdir=/usr/share/${PN} \
+ --mandir=/usr/share/man \
+ --includedir=/usr/include/${PN} \
+ --sysconfdir=/etc/silc \
+ --with-helpdir=/usr/share/${PN}/help \
+ --libdir=/usr/$(get_libdir)/${PN} \
+ --docdir=/usr/share/doc/${PF} \
+ --disable-optimizations \
+ --with-simdir=/usr/$(get_libdir)/${PN}/modules \
+ $(use_enable debug) \
+ ${myconf}
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "make install failed"
+
+ rm -rf \
+ "${D}"/etc/${PN}/silcd.conf \
+ "${D}"/usr/share/man \
+ "${D}"/usr/share/doc/${PF}/examples \
+ "${D}"/usr/share/silc-toolkit \
+ "${D}"/var/log/silc-toolkit \
+ "${D}"/etc/silc
+}