[Darwinfiles-cvs] packagetree/sys-apps/gzip ChangeLog,NONE,1.1 gzip-1.2.4a-r6.ebuild,NONE,1.1 gzip-1
Status: Alpha
Brought to you by:
jimmacr
From: <ji...@us...> - 2002-08-18 15:27:08
|
Update of /cvsroot/darwinfiles/packagetree/sys-apps/gzip In directory usw-pr-cvs1:/tmp/cvs-serv16257 Added Files: ChangeLog gzip-1.2.4a-r6.ebuild gzip-1.3.2.ebuild Log Message: Adding gzip --- NEW FILE: ChangeLog --- # ChangeLog for sys-apps/gzip # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL # $Header: /cvsroot/darwinfiles/packagetree/sys-apps/gzip/ChangeLog,v 1.1 2002/08/18 15:27:04 jimmacr Exp $ *gzip-1.2.4a-r6.ebuild (14 July 2002) 14 Jul 2002; phoen][x <ph...@ge...> gzip-1.2.4a-r6.ebuild : Added KEYWORDS, SLOT. *gzip-1.3.2 (1 Feb 2002) 14 Jul 2002; phoen][x <ph...@ge...> gzip-1.3.2.ebuild : Added KEYWORDS, SLOT. 1 Feb 2002; G.Bevin <gb...@ge...> ChangeLog : Added initial ChangeLog which should be updated whenever the package is updated in any way. This changelog is targetted to users. This means that the comments should well explained and written in clean English. The details about writing correct changelogs are explained in the skel.ChangeLog file which you can find in the root directory of the portage repository. --- NEW FILE: gzip-1.2.4a-r6.ebuild --- # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /cvsroot/darwinfiles/packagetree/sys-apps/gzip/gzip-1.2.4a-r6.ebuild,v 1.1 2002/08/18 15:27:04 jimmacr Exp $ S=${WORKDIR}/${P} DESCRIPTION="Standard GNU compressor" SRC_URI="ftp://prep.ai.mit.edu/gnu/gzip/${P}.tar.gz" HOMEPAGE="http://www.gnu.org/software/gzip/gzip.html" KEYWORDS="ppc" SLOT="0" DEPEND="nls? ( sys-devel/gettext )" RDEPEND="" LICENSE="GPL-2" src_unpack() { unpack ${A} cd ${WORKDIR} patch -p0 < ${FILESDIR}/${PF}.diff } src_compile() { [ -z "`use nls`" ] && myconf="--disable-nls" ./configure --host=${CHOST} --prefix=/usr --exec-prefix=/ --mandir=/usr/share/man --infodir=/usr/share/info ${myconf} || die emake || die } src_install() { dodir /usr/bin /usr/share/man/man1 make prefix=${D}/usr exec_prefix=${D}/usr mandir=${D}/usr/share/man/man1 infodir=${D}/usr/share/info install || die cd ${D}/usr/bin for i in gzexe zforce zgrep zmore znew zcmp do cp ${i} ${i}.orig sed -e "1d" -e "s:${D}::" ${i}.orig > ${i} rm ${i}.orig chmod 755 ${i} done if [ -z "`use build`" ] then cd ${D}/usr/share/man/man1 for i in gzexe gzip zcat zcmp zdiff zforce zgrep zmore znew do rm ${i}.1 ln -s gunzip.1.gz ${i}.1.gz done cd ${S} rm -rf ${D}/usr/man ${D}/usr/lib dodoc ChangeLog COPYING NEWS README THANKS TODO docinto txt dodoc algorithm.doc gzip.doc else rm -rf ${D}/usr fi } --- NEW FILE: gzip-1.3.2.ebuild --- # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /cvsroot/darwinfiles/packagetree/sys-apps/gzip/gzip-1.3.2.ebuild,v 1.1 2002/08/18 15:27:04 jimmacr Exp $ S=${WORKDIR}/${P} DESCRIPTION="Standard GNU compressor" SRC_URI="ftp://alpha.gnu.org/gnu/gzip/${P}.tar.gz" HOMEPAGE="http://www.gnu.org/software/gzip/gzip.html" KEYWORDS="ppc" SLOT="0" LICENSE="GPL-2" DEPEND="nls? ( sys-devel/gettext )" RDEPEND="" src_unpack() { unpack ${A} cd ${WORKDIR} } src_compile() { [ -z "`use nls`" ] && myconf="--disable-nls" ./configure --host=${CHOST} \ --prefix=/usr \ --exec-prefix=/ \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ ${myconf} || die emake || die } src_install() { dodir /usr/bin /usr/share/man/man1 make prefix=${D}/usr \ exec_prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ install || die cd ${D}/usr/bin for i in gzexe zforce zgrep zmore znew zcmp do dosed -e "1d" -e "s:${D}::" ${i} chmod 755 ${i} done if [ -z "`use build`" ] then cd ${D}/usr/share/man/man1 rm -f gunzip.* zcmp.* zcat.* ln -s gzip.1.gz gunzip.1.gz ln -s zdiff.1.gz zcmp.1.gz ln -s gzip.1.gz zcat.1.gz cd ${S} rm -rf ${D}/usr/man ${D}/usr/lib dodoc ChangeLog COPYING NEWS README THANKS TODO docinto txt dodoc algorithm.doc gzip.doc else rm -rf ${D}/usr fi } |