Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1385 - Adaptive Communications Environment to dev-libs
Summary: Adaptive Communications Environment to dev-libs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-28 22:27 UTC by Preston A. Elder
Modified: 2003-04-04 01:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Preston A. Elder 2002-03-28 22:27:47 UTC
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Preston A. Elder <prez@goth.net>

S=${WORKDIR}/ACE_wrappers
ACE_VER=5.2
DESCRIPTION="The Adaptive Communications Environment"
SRC_URI="http://deuce.doc.wustl.edu/ACE-${ACE_VER}.tar.gz
	ftp://deuce.doc.wustl.edu/pub/ACE+TAO-distribution/ACE-${ACE_VER}.tar.gz"
HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html"
#DEPEND=""


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.${ACE_VER}
	cp libACE.a ${D}/usr/lib/libACE.a
	cd ${D}/usr/lib
	ln -s libACE.so.${ACE_VER} libACE.so.`echo ${ACE_VER} | cut -f1 -d.`
	ln -s libACE.so.${ACE_VER} 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*
}
Comment 1 Preston A. Elder 2002-04-13 17:36:09 UTC
5.2.1 is out, you should just be able to replace 5.2 with 5.2.1 in ACE_VER.
Comment 2 Preston A. Elder (RETIRED) gentoo-dev 2002-04-25 23:05:31 UTC
Added to build environment.
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:23:08 UTC
db fix
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:28:02 UTC
db fix