diff options
author | 2003-09-08 08:25:07 +0000 | |
---|---|---|
committer | 2003-09-08 08:25:07 +0000 | |
commit | 4c4bdb279f4cc31f79a0984bf631b4f5e33865c3 (patch) | |
tree | 5ecd9a1df81749a2de8755320dffc36cab3e90fa /sys-devel/ld.so | |
parent | comment tweak (diff) | |
download | gentoo-2-4c4bdb279f4cc31f79a0984bf631b4f5e33865c3.tar.gz gentoo-2-4c4bdb279f4cc31f79a0984bf631b4f5e33865c3.tar.bz2 gentoo-2-4c4bdb279f4cc31f79a0984bf631b4f5e33865c3.zip |
repoman $A
Diffstat (limited to 'sys-devel/ld.so')
-rw-r--r-- | sys-devel/ld.so/ld.so-1.9.11-r2.ebuild | 24 | ||||
-rw-r--r-- | sys-devel/ld.so/ld.so-1.9.11-r3.ebuild | 41 |
2 files changed, 24 insertions, 41 deletions
diff --git a/sys-devel/ld.so/ld.so-1.9.11-r2.ebuild b/sys-devel/ld.so/ld.so-1.9.11-r2.ebuild index a6377f929f0e..1856bfbc6269 100644 --- a/sys-devel/ld.so/ld.so-1.9.11-r2.ebuild +++ b/sys-devel/ld.so/ld.so-1.9.11-r2.ebuild @@ -1,37 +1,31 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/ld.so/ld.so-1.9.11-r2.ebuild,v 1.14 2003/02/13 16:33:02 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/ld.so/ld.so-1.9.11-r2.ebuild,v 1.15 2003/09/08 08:25:07 vapier Exp $ -A=${P}.tar.gz -S=${WORKDIR}/${P} DESCRIPTION="Linux dynamic loader & linker" -SRC_URI="ftp://ftp.ods.com/pub/linux/${A}" HOMEPAGE="http://freshmeat.net/projects/ld.so/" -RDEPEND="sys-libs/lib-compat" +SRC_URI="ftp://ftp.ods.com/pub/linux/${P}.tar.gz" + LICENSE="LD.SO" SLOT="0" KEYWORDS="x86 ppc sparc alpha" -src_unpack() { +RDEPEND="sys-libs/lib-compat" +src_unpack() { unpack ${A} cd ${S} - cp instldso.sh instldso.orig - sed -e "s:usr/man:usr/share/man:g" \ - instldso.orig > instldso.sh - + sed -i "s:usr/man:usr/share/man:g" instldso.sh } src_install() { - PREFIX=${D} ./instldso.sh --force - # Remove stuff that comes with glibc - rm -rf ${D}/sbin ${D}/usr/bin - rm ${D}/usr/share/man/man8/ldconfig* + # Remove stuff that comes with glibc + rm -rf ${D}/sbin ${D}/usr/bin + rm ${D}/usr/share/man/man8/ldconfig* preplib / dodoc COPYRIGHT README ld-so/example/README* - } diff --git a/sys-devel/ld.so/ld.so-1.9.11-r3.ebuild b/sys-devel/ld.so/ld.so-1.9.11-r3.ebuild index d0a04ad3f858..56bc69ea725b 100644 --- a/sys-devel/ld.so/ld.so-1.9.11-r3.ebuild +++ b/sys-devel/ld.so/ld.so-1.9.11-r3.ebuild @@ -1,44 +1,33 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/ld.so/ld.so-1.9.11-r3.ebuild,v 1.4 2003/02/13 16:33:07 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/ld.so/ld.so-1.9.11-r3.ebuild,v 1.5 2003/09/08 08:25:07 vapier Exp $ -S="${WORKDIR}/${P}" DESCRIPTION="Linux dynamic loader & linker" -SRC_URI="x86? ( ftp://ftp.ods.com/pub/linux/${P}.tar.gz )" HOMEPAGE="http://freshmeat.net/projects/ld.so/" - -RDEPEND="sys-libs/lib-compat" +SRC_URI="x86? ( ftp://ftp.ods.com/pub/linux/${P}.tar.gz )" LICENSE="LD.SO" SLOT="0" KEYWORDS="x86 ppc sparc alpha" -src_unpack() { +RDEPEND="sys-libs/lib-compat" - if [ "${ARCH}" = "x86" ] - then - unpack ${A} - - cd ${S} - cp instldso.sh instldso.orig - sed -e "s:usr/man:usr/share/man:g" \ - instldso.orig > instldso.sh - fi +src_unpack() { + [ "${ARCH}" != "x86" ] && return 0 + unpack ${A} + cd ${S} + sed -i "s:usr/man:usr/share/man:g" instldso.sh } src_install() { + [ "${ARCH}" != "x86" ] && return 0 + PREFIX=${D} ./instldso.sh --force - if [ "${ARCH}" = "x86" ] - then - PREFIX=${D} ./instldso.sh --force + # Remove stuff that comes with glibc + rm -rf ${D}/sbin ${D}/usr/bin + rm ${D}/usr/share/man/man8/ldconfig* - # Remove stuff that comes with glibc - rm -rf ${D}/sbin ${D}/usr/bin - rm ${D}/usr/share/man/man8/ldconfig* + preplib / - preplib / - - dodoc COPYRIGHT README ld-so/example/README* - fi + dodoc COPYRIGHT README ld-so/example/README* } - |