Bumped to -r2. Closes #71742.
authorMichael Imhof <tantive@gentoo.org>
Wed, 1 Dec 2004 23:33:21 +0000 (23:33 +0000)
committerMichael Imhof <tantive@gentoo.org>
Wed, 1 Dec 2004 23:33:21 +0000 (23:33 +0000)
dev-libs/ace/ChangeLog
dev-libs/ace/Manifest
dev-libs/ace/ace-5.4-r2.ebuild [new file with mode: 0644]
dev-libs/ace/files/digest-ace-5.4-r2 [new file with mode: 0644]

index ecb6c91f5daac363b2386259260eaf7cf8514bcf..ec2ca8ab5ff20916696b826d491e600729577eee 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-libs/ace
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.22 2004/11/15 19:28:41 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.23 2004/12/01 23:33:21 tantive Exp $
+
+*ace-5.4-r2 (02 Dec 2004)
+
+  02 Dec 2004; Michael Imhof <tantive@gentoo.org> +ace-5.4-r2.ebuild:
+  Bumped to -r2. Closes #71742.
 
   15 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org> ace-5.4-r1.ebuild:
   Stable on sparc
index 9f36855c1ed3877f23334426a6dc328cb11c06ea..dfba5c0540f561f19f1bb40989c7a39641dbc3d9 100644 (file)
@@ -1,7 +1,19 @@
-MD5 55446c3dfe0a77ffd34d998774b1dfed ChangeLog 2428
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 MD5 a202d56fd3622b28877ec98d87c14273 ace-5.3.ebuild 2036
 MD5 4621efd43833273d01025f6118adef0f ace-5.4.ebuild 2182
+MD5 1f84c66f921c9f8ffb593d0277211ca9 ace-5.4-r2.ebuild 2584
+MD5 d1ef8281f48a81e3518978c2bcc2d0b3 ChangeLog 2557
 MD5 22c3bc48a181192de9d16fb670357ee3 ace-5.4-r1.ebuild 2509
+MD5 3e3d835be64fd3d448525a09dec99bba files/digest-ace-5.4-r2 61
 MD5 b88f6bda8016adf15d1660b3f1e0312e files/digest-ace-5.3 60
 MD5 3e3d835be64fd3d448525a09dec99bba files/digest-ace-5.4 61
 MD5 3e3d835be64fd3d448525a09dec99bba files/digest-ace-5.4-r1 61
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBrmLnKtJO8LeSoosRAq/+AJ4jAFi554HRKPMKEMLjM6xu4i17FwCdGiEe
+26/U3TDvB3qtmS9cGSgCcCs=
+=4dPg
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/ace/ace-5.4-r2.ebuild b/dev-libs/ace/ace-5.4-r2.ebuild
new file mode 100644 (file)
index 0000000..3572b96
--- /dev/null
@@ -0,0 +1,83 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.4-r2.ebuild,v 1.1 2004/12/01 23:33:21 tantive Exp $
+
+S=${WORKDIR}/ACE_wrappers
+DESCRIPTION="The Adaptive Communications Environment"
+SRC_URI="http://deuce.doc.wustl.edu/old_distribution/ACE-${PV}.tar.bz2"
+HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html"
+
+SLOT="0"
+LICENSE="BSD as-is"
+KEYWORDS="x86 sparc ~ppc ~alpha ~amd64"
+IUSE="ipv6"
+DEPEND="virtual/libc"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}/ace
+       use ipv6 && sed -e "s/#define ACE_HAS_PTHREADS$/#define ACE_HAS_PTHREADS\n#define ACE_HAS_IPV6/" config-linux.h >config.h
+       use ipv6 || cp config-linux.h config.h
+       cd ${S}/include/makeinclude
+       sed -e "s:-O3:${CFLAGS}:" platform_linux.GNU >platform_macros.GNU
+}
+
+src_compile() {
+       export ACE_ROOT=${S}
+       cd ${S}/ace
+       emake static_libs=1 || die
+}
+
+src_install() {
+       dodir /usr/include/ace /usr/lib /usr/share/man/man3
+       cd ${S}/ace
+       cp libACE.so ${D}/usr/lib/libACE.so.${PV}
+       cp libACE.a ${D}/usr/lib/libACE.a
+       cp libACE_RMCast.so ${D}/usr/lib/libACE_RMCast.so.${PV}
+       cp libACE_RMCast.a ${D}/usr/lib/libACE_RMCast.a
+       cd ${D}/usr/lib
+#      ln -s libACE.so.${PV} libACE.so.`echo ${PV} | cut -f1 -d.`
+       ln -s libACE.so.${PV} libACE.so
+       ln -s libACE.so.${PV} libACE.so.${PV}.0
+#      ln -s libACE_RMCast.so.${PV} libACE_RMCast.so.`echo ${PV} | cut -f1 -d.`
+       ln -s libACE_RMCast.so.${PV} libACE_RMCast.so
+       ln -s libACE_RMCast.so.${PV} libACE_RMCast.so.${PV}.0
+
+       cd ${S}/ace
+       #don't really need the .cpp's after it's built
+       #Hmm, 5.4 seems to need the .cpp's?
+#      cp -r *.{h,hpp,i,inl} ${D}/usr/include/ace
+       cp -r * ${D}/usr/include/ace/
+       cp -r os_include ${D}/usr/include/ace/
+       chmod -R 644 ${D}/usr/include/ace/*
+       cd ${D}/usr/include/ace/
+       find -type d -exec chmod 755 \{\} \;
+
+       cd ${S}/man
+       cp -r man? ${D}/usr/share/man
+       chmod 644 ${D}/usr/share/man/man?/*
+       gzip -q ${D}/usr/share/man/man?/*
+
+       cd ${S}
+       dodoc ACE-INSTALL* AUTHORS COPYING FAQ PROBLEM-REPORT-FORM README
+       dodoc THANKS TODO VERSION
+       cd ${S}/docs
+       dodoc *
+       cd ${S}
+       docinto ChangeLogs
+       dodoc ChangeLog
+       cd ${S}/ChangeLogs
+       dodoc *
+}
+
+pkg_postinst() {
+       # This is required, as anything trying to compile against ACE will have
+       # problems with conflicting OS.h files if this is not done.
+
+       local CC_MACHINE=`gcc -dumpmachine`
+       local CC_VERSION=`gcc -dumpversion`
+       if [ -d "/usr/lib/gcc-lib/${CC_MACHINE}/${CC_VERSION}/include/ace" ]; then
+               mv "/usr/lib/gcc-lib/${CC_MACHINE}/${CC_VERSION}/include/ace" \
+                       "/usr/lib/gcc-lib/${CC_MACHINE}/${CC_VERSION}/include/ace.old"
+       fi
+}
diff --git a/dev-libs/ace/files/digest-ace-5.4-r2 b/dev-libs/ace/files/digest-ace-5.4-r2
new file mode 100644 (file)
index 0000000..5af8e0d
--- /dev/null
@@ -0,0 +1 @@
+MD5 51e997b07ea8a9cf38361cc9f2b6fede ACE-5.4.tar.bz2 5934471