diff options
author | Preston A. Elder <prez@gentoo.org> | 2002-08-31 18:42:23 +0000 |
---|---|---|
committer | Preston A. Elder <prez@gentoo.org> | 2002-08-31 18:42:23 +0000 |
commit | 454f1d57a6ef74ef70635d2454910533b20a745f (patch) | |
tree | e01084140eb90fb545effa0278a89fa84c3fc02f /dev-libs | |
parent | added ORBit2 dependency (diff) | |
download | gentoo-2-454f1d57a6ef74ef70635d2454910533b20a745f.tar.gz gentoo-2-454f1d57a6ef74ef70635d2454910533b20a745f.tar.bz2 gentoo-2-454f1d57a6ef74ef70635d2454910533b20a745f.zip |
Added newer version of ACE (which supports IPV6).
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/ace/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/ace/ace-5.2.4.ebuild | 75 | ||||
-rw-r--r-- | dev-libs/ace/files/digest-ace-5.2.4 | 1 |
3 files changed, 84 insertions, 1 deletions
diff --git a/dev-libs/ace/ChangeLog b/dev-libs/ace/ChangeLog index eb0b362c5890..0c2415a11932 100644 --- a/dev-libs/ace/ChangeLog +++ b/dev-libs/ace/ChangeLog @@ -1,9 +1,16 @@ # ChangeLog for dev-libs/ace # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.2 2002/08/01 16:07:17 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.3 2002/08/31 18:42:23 prez Exp $ + +*ace-5.2.4 (31 August 2002) + + 31 August 2002; Preston A. Elder <prez@gentoo.org> ChangeLog : + + ACE has now started making versioned files, so digests are possible. *ace-5.2.1 (26 April 2002) 26 April 2002; Preston A. Elder <prez@gentoo.org> ChangeLog : Initial ebuild... Enjoy.. + diff --git a/dev-libs/ace/ace-5.2.4.ebuild b/dev-libs/ace/ace-5.2.4.ebuild new file mode 100644 index 000000000000..04c1c7c0fb0e --- /dev/null +++ b/dev-libs/ace/ace-5.2.4.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.2.4.ebuild,v 1.1 2002/08/31 18:42:23 prez Exp $ + +S=${WORKDIR}/ACE_wrappers +DESCRIPTION="The Adaptive Communications Environment" +SRC_URI="http://deuce.doc.wustl.edu/old_distribution/ACE-${PV}.tar.gz" +HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html" + +SLOT="0" +LICENSE="BSD as-is" +KEYWORDS="x86 sparc sparc64" + +DEPEND="virtual/glibc" + + +src_unpack() { + + unpack ${A} + cd ${S}/ace + 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} + 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 + cd ${D}/usr/lib + ln -s libACE.so.${PV} libACE.so.`echo ${PV} | cut -f1 -d.` + ln -s libACE.so.${PV} libACE.so + + cd ${S}/ace + cp -r *.h *.cpp *.i *.inl ${D}/usr/include/ace + chmod 644 ${D}/usr/include/ace/* + + cd ${S}/man/man3 + cp *.3 ${D}/usr/share/man/man3 + chmod 644 ${D}/usr/share/man/man3/*.3 + gzip ${D}/usr/share/man/man3/*.3 + + cd ${S} + dodoc ACE-INSTALL* AUTHORS COPYING FAQ PROBLEM-REPORT-FORM README + dodoc THANKS TODO VERSION + cd ${S}/docs + dodoc *.html *.txt *gz + cd ${S} + docinto ChangeLogs + dodoc ChangeLog + cd ${S}/ChangeLogs + dodoc ChangeLog* +} + +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.2.4 b/dev-libs/ace/files/digest-ace-5.2.4 new file mode 100644 index 000000000000..9929f72308a9 --- /dev/null +++ b/dev-libs/ace/files/digest-ace-5.2.4 @@ -0,0 +1 @@ +MD5 f790f24d2f2eb8bdae2045bc83119bb7 ACE-5.2.4.tar.gz 7626628 |