diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-10-19 03:21:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-10-19 03:21:25 +0000 |
commit | 1677350f96f4266a6979abe93bd38bcb42853488 (patch) | |
tree | 4f1a43f67e5deb531cbde46d4ba801a715be7e72 /sys-apps/sharutils | |
parent | lintool fixes for #9258 (diff) | |
download | gentoo-2-1677350f96f4266a6979abe93bd38bcb42853488.tar.gz gentoo-2-1677350f96f4266a6979abe93bd38bcb42853488.tar.bz2 gentoo-2-1677350f96f4266a6979abe93bd38bcb42853488.zip |
lintool fixes for #9258
Diffstat (limited to 'sys-apps/sharutils')
-rw-r--r-- | sys-apps/sharutils/sharutils-4.2.1-r4.ebuild | 45 |
1 files changed, 19 insertions, 26 deletions
diff --git a/sys-apps/sharutils/sharutils-4.2.1-r4.ebuild b/sys-apps/sharutils/sharutils-4.2.1-r4.ebuild index 76bd280b32b4..41d03bf3097b 100644 --- a/sys-apps/sharutils/sharutils-4.2.1-r4.ebuild +++ b/sys-apps/sharutils/sharutils-4.2.1-r4.ebuild @@ -1,11 +1,10 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sharutils/sharutils-4.2.1-r4.ebuild,v 1.7 2002/10/04 06:30:14 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sharutils/sharutils-4.2.1-r4.ebuild,v 1.8 2002/10/19 03:21:24 vapier Exp $ -A=${P}.tar.gz -S=${WORKDIR}/${P} +S="${WORKDIR}/${P}" DESCRIPTION="Tools to deal with shar archives" -SRC_URI="ftp://prep.ai.mit.edu/gnu/sharutils/${A}" +SRC_URI="ftp://prep.ai.mit.edu/gnu/sharutils/${P}.tar.gz" HOMEPAGE="http://www.gnu.org/software/sharutils/" KEYWORDS="x86" SLOT="0" @@ -13,42 +12,36 @@ LICENSE="GPL-2" DEPEND="virtual/glibc sys-apps/texinfo >=sys-devel/gettext-0.10.35" RDEPEND="virtual/glibc" - src_unpack() { - - unpack ${A} - cd ${WORKDIR} - patch -p0 < ${FILESDIR}/${PF}-gentoo.diff - cd ${S}/po - mv nl.po nl.po.orig - sed -e 's/aangemaakt/aangemaakt\\n/' nl.po.orig > nl.po - mv pt.po pt.po.orig - sed -e 's/de %dk/de %dk\\n/' pt.po.orig > pt.po - + unpack ${A} + cd ${WORKDIR} + patch -p0 < ${FILESDIR}/${PF}-gentoo.diff + cd ${S}/po + mv nl.po nl.po.orig + sed -e 's/aangemaakt/aangemaakt\\n/' nl.po.orig > nl.po + mv pt.po pt.po.orig + sed -e 's/de %dk/de %dk\\n/' pt.po.orig > pt.po } src_compile() { - - try ./configure --host=${CHOST} --prefix=/usr - try make ${MAKEOPTS} localedir=/usr/share/locale + ./configure --host=${CHOST} --prefix=/usr || die + make ${MAKEOPTS} localedir=/usr/share/locale || die } src_install() { - - try make prefix=${D}/usr localedir=${D}/usr/share/locale infodir=${D}/usr/share/info install + make prefix=${D}/usr localedir=${D}/usr/share/locale \ + infodir=${D}/usr/share/info install || die doman doc/*.[15] #Remove some strange locals cd ${D}/usr/share/locale - for i in *. - do - rm -rf ${i} - done + for i in *. + do + rm -rf ${i} + done rm -rf ${D}/usr/lib cd ${S} dodoc AUTHORS BACKLOG COPYING ChangeLog ChangeLog.OLD \ NEWS README README.OLD THANKS TODO } - - |