summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-03-31 09:03:00 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-03-31 09:03:00 +0000
commit5cc21faa42ce9c49a83afd2f10c480d244de4417 (patch)
treea9e72dc6ea8be0ae21214a283a3469c66f270c7f /net-im
parentOUI (Organizationally Unique Identifier) database is updated, bug #215107, th... (diff)
downloadgentoo-2-5cc21faa42ce9c49a83afd2f10c480d244de4417.tar.gz
gentoo-2-5cc21faa42ce9c49a83afd2f10c480d244de4417.tar.bz2
gentoo-2-5cc21faa42ce9c49a83afd2f10c480d244de4417.zip
Restore 1.0 for net-im/silky
(Portage version: 2.1.4.4, RepoMan options: --force)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/silc-toolkit/ChangeLog5
-rw-r--r--net-im/silc-toolkit/silc-toolkit-1.0.ebuild61
2 files changed, 65 insertions, 1 deletions
diff --git a/net-im/silc-toolkit/ChangeLog b/net-im/silc-toolkit/ChangeLog
index 4a2eccd95407..5cd3cb849887 100644
--- a/net-im/silc-toolkit/ChangeLog
+++ b/net-im/silc-toolkit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-im/silc-toolkit
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/silc-toolkit/ChangeLog,v 1.90 2008/03/27 21:03:59 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/silc-toolkit/ChangeLog,v 1.91 2008/03/31 09:03:00 armin76 Exp $
+
+ 31 Mar 2008; Raúl Porcel <armin76@gentoo.org> +silc-toolkit-1.0.ebuild:
+ Restore 1.0 for net-im/silky
27 Mar 2008; Jeroen Roovers <jer@gentoo.org> silc-toolkit-1.1.7.ebuild:
Stable for HPPA (bug #214812).
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..77bb3b04d928
--- /dev/null
+++ b/net-im/silc-toolkit/silc-toolkit-1.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2008 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.16 2008/03/31 09:03:00 armin76 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
+}