summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2005-07-29 03:16:19 +0000
committerChristian Parpart <trapni@gentoo.org>2005-07-29 03:16:19 +0000
commitb2343700fb8f3ff73eaf4a9de9bac8c737e7d010 (patch)
treedc374a639b0ae9fda1aa517a42c618ae4b591892 /dev-libs
parentremove pointless x86 mask (diff)
downloadgentoo-2-b2343700fb8f3ff73eaf4a9de9bac8c737e7d010.tar.gz
gentoo-2-b2343700fb8f3ff73eaf4a9de9bac8c737e7d010.tar.bz2
gentoo-2-b2343700fb8f3ff73eaf4a9de9bac8c737e7d010.zip
adding 0.4.0-rc5 post patch from svn upstream that fixes some 64bit vs. 32bit compilation problems on gcc4
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/swl/ChangeLog9
-rw-r--r--dev-libs/swl/Manifest3
-rw-r--r--dev-libs/swl/files/digest-swl-0.4.0_rc5-r12
-rw-r--r--dev-libs/swl/swl-0.4.0_rc5-r1.ebuild65
4 files changed, 78 insertions, 1 deletions
diff --git a/dev-libs/swl/ChangeLog b/dev-libs/swl/ChangeLog
index 54baa8445133..d319a620fc45 100644
--- a/dev-libs/swl/ChangeLog
+++ b/dev-libs/swl/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/swl
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/swl/ChangeLog,v 1.3 2005/07/20 11:05:19 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/swl/ChangeLog,v 1.4 2005/07/29 03:16:19 trapni Exp $
+
+*swl-0.4.0_rc5-r1 (29 Jul 2005)
+
+ 29 Jul 2005; Christian Parpart <trapni@gentoo.org>
+ +swl-0.4.0_rc5-r1.ebuild:
+ adding 0.4.0-rc5 post patch from svn upstream that fixes some 64bit vs.
+ 32bit compilation problems on gcc4
20 Jul 2005; David Holm <dholm@gentoo.org> swl-0.4.0_rc5.ebuild:
Added to ~ppc.
diff --git a/dev-libs/swl/Manifest b/dev-libs/swl/Manifest
index 598a67987dab..43af0521d473 100644
--- a/dev-libs/swl/Manifest
+++ b/dev-libs/swl/Manifest
@@ -2,5 +2,8 @@ MD5 c4110136ec593acef0f15537ef138bb2 ChangeLog 564
MD5 6f6082a2cd54b3861651df5431d19af9 metadata.xml 843
MD5 092754cf7e8a68ee8e2de6f5b927c74d swl-0.4.0_rc4.ebuild 1434
MD5 aed11599107eaff87dc39db78349bf92 swl-0.4.0_rc5.ebuild 1438
+MD5 bbeab3e5678c91b4ee3b307c228d0a35 .swl-0.4.0_rc5-r1.ebuild.swp 12288
+MD5 310fca4ceae30570d87358e474589444 swl-0.4.0_rc5-r1.ebuild 1572
MD5 fcf7926861f339664bce308e924b7267 files/digest-swl-0.4.0_rc4 66
MD5 3017cfc2c27408b017e6359fc4aeabdf files/digest-swl-0.4.0_rc5 66
+MD5 6250348b05764860006958a57373bcaa files/digest-swl-0.4.0_rc5-r1 136
diff --git a/dev-libs/swl/files/digest-swl-0.4.0_rc5-r1 b/dev-libs/swl/files/digest-swl-0.4.0_rc5-r1
new file mode 100644
index 000000000000..c98b0bcb20a1
--- /dev/null
+++ b/dev-libs/swl/files/digest-swl-0.4.0_rc5-r1
@@ -0,0 +1,2 @@
+MD5 20e7c105320f122e6d6b086bd4a21048 swl-0.4.0-rc5.tar.gz 1226334
+MD5 d19c46ae8dc870236ceada43af9cc4a2 0.4-rc5-post-20050729.diff 54831
diff --git a/dev-libs/swl/swl-0.4.0_rc5-r1.ebuild b/dev-libs/swl/swl-0.4.0_rc5-r1.ebuild
new file mode 100644
index 000000000000..aef99803f6a2
--- /dev/null
+++ b/dev-libs/swl/swl-0.4.0_rc5-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/swl/swl-0.4.0_rc5-r1.ebuild,v 1.1 2005/07/29 03:16:19 trapni Exp $
+
+inherit flag-o-matic multilib
+
+DESCRIPTION="SWL is a C++ cross platform library."
+HOMEPAGE="http://swl.trapni-akane.org/"
+SRC_URI="http://upstream.trapni-akane.org/swl/${P/_/-}.tar.gz
+ http://upstream.trapni-akane.org/swl/patches/0.4-rc5-post-20050729.diff"
+LICENSE="LGPL-2.1"
+SLOT="0.4"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="acl crypt debug doc ipv6"
+
+DEPEND="acl? ( >=sys-apps/acl-2.2.27 )
+ >=sys-libs/glibc-2.3.4
+ >=sys-devel/gcc-3.4.3
+ crypt? ( >=dev-libs/libgcrypt-1.2.0 )
+ doc? ( >=app-doc/doxygen-1.3.9.1 )"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+ epatch "${DISTDIR}/0.4-rc5-post-20050729.diff" || die
+}
+
+src_compile() {
+ use debug && append-flags -g3
+ use debug || append-flags -DNDEBUG=1
+
+ ./configure \
+ --prefix="/usr" \
+ --host="${CHOST}" \
+ --libdir="/usr/$(get_libdir)" \
+ `use_enable acl` \
+ `use_enable crypt crypto` \
+ `use_enable ipv6` \
+ --without-tests \
+ --without-examples \
+ || die "./configure for ABI ${ABI} failed"
+
+ emake || die "make for ABI ${ABI} failed"
+
+ if use doc; then
+ ewarn "TODO: generate docs {html,man} via doxygen"
+ #make -C doc api-docs
+ # XXX: install example/test files?
+ fi
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+
+ if use doc; then
+ ewarn "TODO: install man-pages and html version via doxygen"
+ #dodoc -r doc/html
+ fi
+
+ dodoc AUTHORS ChangeLog* NEWS README* TODO
+}
+
+# vim:ai:noet:ts=4:nowrap