diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-12 05:59:29 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-12 05:59:29 +0000 |
commit | a6c563a49da1e807a37f0fb32af507d248fc2148 (patch) | |
tree | 4a38e831b0dacd2f387b6fafbeaca4d6bac39cea /dev-libs | |
parent | ppc64 needs deps first (Manifest recommit) (diff) | |
download | gentoo-2-a6c563a49da1e807a37f0fb32af507d248fc2148.tar.gz gentoo-2-a6c563a49da1e807a37f0fb32af507d248fc2148.tar.bz2 gentoo-2-a6c563a49da1e807a37f0fb32af507d248fc2148.zip |
repoman: Fix leading whitespace
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/ace/ace-5.4.ebuild | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/dev-libs/ace/ace-5.4.ebuild b/dev-libs/ace/ace-5.4.ebuild index 1da5792ec847..50e599470493 100644 --- a/dev-libs/ace/ace-5.4.ebuild +++ b/dev-libs/ace/ace-5.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.4.ebuild,v 1.1 2004/03/12 00:32:29 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.4.ebuild,v 1.2 2004/03/12 05:59:29 mr_bones_ Exp $ S=${WORKDIR}/ACE_wrappers DESCRIPTION="The Adaptive Communications Environment" @@ -14,62 +14,62 @@ IUSE="ipv6" DEPEND="virtual/glibc" 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 + 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 + 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 - 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 - #don't really need the .cpp's after it's built - #cp -r *.{h,hpp,i,inl} ${D}/usr/include/ace - cp -r * ${D}/usr/include/ace/ - chmod -R 644 ${D}/usr/include/ace/* - cd ${D}/usr/include/ace/ - find -type d -exec chmod 755 \{\} \; + 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}/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 * + cd ${S}/ace + #don't really need the .cpp's after it's built + #cp -r *.{h,hpp,i,inl} ${D}/usr/include/ace + cp -r * ${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. + # 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 + 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 } |