summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-10-27 15:36:51 +0000
committerSven Wegener <swegener@gentoo.org>2006-10-27 15:36:51 +0000
commit6485904fbd2b4b3fe3476f9c27546d8a38401f33 (patch)
tree6e981a2ba4a817cee02a38abc9a20d70cdc3b49f /net-im/silc-toolkit
parentVersion bump, addition of support for eselect-whois. (diff)
downloadgentoo-2-6485904fbd2b4b3fe3476f9c27546d8a38401f33.tar.gz
gentoo-2-6485904fbd2b4b3fe3476f9c27546d8a38401f33.tar.bz2
gentoo-2-6485904fbd2b4b3fe3476f9c27546d8a38401f33.zip
Resurrect 1.0 from Attic. Drop the useless silc-client dependency in 1.0.2.
(Portage version: 2.1.2_pre3-r9)
Diffstat (limited to 'net-im/silc-toolkit')
-rw-r--r--net-im/silc-toolkit/ChangeLog6
-rw-r--r--net-im/silc-toolkit/files/digest-silc-toolkit-1.03
-rw-r--r--net-im/silc-toolkit/silc-toolkit-1.0.2.ebuild26
-rw-r--r--net-im/silc-toolkit/silc-toolkit-1.0.ebuild61
4 files changed, 80 insertions, 16 deletions
diff --git a/net-im/silc-toolkit/ChangeLog b/net-im/silc-toolkit/ChangeLog
index b1af7996485f..1eee27adc657 100644
--- a/net-im/silc-toolkit/ChangeLog
+++ b/net-im/silc-toolkit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-im/silc-toolkit
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/silc-toolkit/ChangeLog,v 1.52 2006/10/26 19:23:02 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/silc-toolkit/ChangeLog,v 1.53 2006/10/27 15:36:51 swegener Exp $
+
+ 27 Oct 2006; Sven Wegener <swegener@gentoo.org> +silc-toolkit-1.0.ebuild,
+ silc-toolkit-1.0.2.ebuild:
+ Resurrect 1.0 from Attic. Drop the useless silc-client dependency in 1.0.2.
26 Oct 2006; Markus Ullmann <jokey@gentoo.org>
-files/silc-toolkit-0.9.12-64bit_goodness.patch,
diff --git a/net-im/silc-toolkit/files/digest-silc-toolkit-1.0 b/net-im/silc-toolkit/files/digest-silc-toolkit-1.0
new file mode 100644
index 000000000000..88fec37fd922
--- /dev/null
+++ b/net-im/silc-toolkit/files/digest-silc-toolkit-1.0
@@ -0,0 +1,3 @@
+MD5 ff31a7b5a3d3c40dc59822f6c29618cc silc-toolkit-1.0.tar.bz2 2511060
+RMD160 d2787e31e04a929202d21a0eb62a710a76a776ef silc-toolkit-1.0.tar.bz2 2511060
+SHA256 c22670d24c5ba1264489c332a942d5f1ebf38855ef6ba83842ac3d3ed0168f8e silc-toolkit-1.0.tar.bz2 2511060
diff --git a/net-im/silc-toolkit/silc-toolkit-1.0.2.ebuild b/net-im/silc-toolkit/silc-toolkit-1.0.2.ebuild
index 816c25ac0d1d..da9cee255d54 100644
--- a/net-im/silc-toolkit/silc-toolkit-1.0.2.ebuild
+++ b/net-im/silc-toolkit/silc-toolkit-1.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 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.0.2.ebuild,v 1.2 2006/10/26 19:23:02 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/silc-toolkit/silc-toolkit-1.0.2.ebuild,v 1.3 2006/10/27 15:36:51 swegener Exp $
inherit eutils
@@ -13,20 +13,17 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="debug ipv6"
-RDEPEND="net-im/silc-client"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
+RDEPEND=""
+DEPEND="dev-util/pkgconfig"
src_unpack() {
unpack ${A}
# They have incorrect DESTDIR usage
- sed -i '/\$(srcdir)\/tutorial/s/\$(prefix)/\$(docdir)/' ${S}/Makefile.am
- sed -i '/\$(srcdir)\/tutorial/s/\$(prefix)/\$(docdir)/' ${S}/Makefile.in
+ sed -i '/\$(srcdir)\/tutorial/s/\$(prefix)/\$(docdir)/' "${S}"/Makefile.{am,in}
# Stop them from unsetting our CFLAGS
- sed -i '/^CFLAGS=$/d' ${S}/configure || die
+ sed -i '/^CFLAGS=$/d' "${S}"/configure
}
src_compile() {
@@ -45,17 +42,16 @@ src_compile() {
$(use_enable ipv6)
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}/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
+ "${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
}
diff --git a/net-im/silc-toolkit/silc-toolkit-1.0.ebuild b/net-im/silc-toolkit/silc-toolkit-1.0.ebuild
new file mode 100644
index 000000000000..4b796cf5318a
--- /dev/null
+++ b/net-im/silc-toolkit/silc-toolkit-1.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2006 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.0.ebuild,v 1.13 2006/10/27 15:36:51 swegener 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="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86"
+IUSE="debug ipv6"
+
+RDEPEND="!<=net-im/silc-client-1.0.1"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+
+ # They have incorrect DESTDIR usage
+ sed -i '/\$(srcdir)\/tutorial/s/\$(prefix)/\$(docdir)/' ${S}/Makefile.am
+ sed -i '/\$(srcdir)\/tutorial/s/\$(prefix)/\$(docdir)/' ${S}/Makefile.in
+
+ # Stop them from unsetting our CFLAGS
+ sed -i '/^CFLAGS=$/d' ${S}/configure || die
+}
+
+src_compile() {
+ econf \
+ --datadir=/usr/share/${PN} \
+ --mandir=/usr/share/man \
+ --includedir=/usr/include/${PN} \
+ --with-etcdir=/etc/silc \
+ --with-helpdir=/usr/share/${PN}/help \
+ --with-simdir=/usr/$(get_libdir)/${PN} \
+ --with-docdir=/usr/share/doc/${PF} \
+ --with-logsdir=/var/log/${PN} \
+ --enable-shared \
+ --enable-static \
+ $(use_enable debug) \
+ $(use_enable ipv6)
+
+ 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}/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
+}