diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-03-12 13:42:56 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-03-12 13:42:56 +0000 |
commit | a183b3488023954b89737f129ec22097a25cc4e9 (patch) | |
tree | 8c460402fc97352bbc1cd9baee9c862f02425760 /sys-apps/gawk | |
parent | Added USE dependent nls compilation (diff) | |
download | gentoo-2-a183b3488023954b89737f129ec22097a25cc4e9.tar.gz gentoo-2-a183b3488023954b89737f129ec22097a25cc4e9.tar.bz2 gentoo-2-a183b3488023954b89737f129ec22097a25cc4e9.zip |
added USE dependent nls compilation
Diffstat (limited to 'sys-apps/gawk')
-rw-r--r-- | sys-apps/gawk/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/gawk/files/digest-gawk-3.1.0-r1 | 1 | ||||
-rw-r--r-- | sys-apps/gawk/gawk-3.1.0-r1.ebuild | 57 |
3 files changed, 65 insertions, 1 deletions
diff --git a/sys-apps/gawk/ChangeLog b/sys-apps/gawk/ChangeLog index ad81c48cec10..0991cf2daa5d 100644 --- a/sys-apps/gawk/ChangeLog +++ b/sys-apps/gawk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/gawk # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.1 2002/02/01 21:53:37 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.2 2002/03/12 13:42:56 seemant Exp $ + +*gawk-3.1.0-r1 (12 Mar 2002) + + 12 Mar 2002; Seemant Kulleen <seemant@gentoo.org> ChangeLog : + + Added USE dependent nls compilation *gawk-3.1.0 (1 Feb 2002) diff --git a/sys-apps/gawk/files/digest-gawk-3.1.0-r1 b/sys-apps/gawk/files/digest-gawk-3.1.0-r1 new file mode 100644 index 000000000000..bc69ec02d738 --- /dev/null +++ b/sys-apps/gawk/files/digest-gawk-3.1.0-r1 @@ -0,0 +1 @@ +MD5 789d223fc7ee4ada694071e04124a3ae gawk-3.1.0.tar.gz 1614873 diff --git a/sys-apps/gawk/gawk-3.1.0-r1.ebuild b/sys-apps/gawk/gawk-3.1.0-r1.ebuild new file mode 100644 index 000000000000..2af3375493e7 --- /dev/null +++ b/sys-apps/gawk/gawk-3.1.0-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-3.1.0-r1.ebuild,v 1.1 2002/03/12 13:42:56 seemant Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="GNU awk pattern-matching language" +SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/gawk/${P}.tar.gz" +HOMEPAGE="http://www.gnu.org/software/gawk/gawk.html" + +DEPEND="virtual/glibc + nls? ( sys-devel/gettext )" + +src_compile() { + + local myconf + use nls || myconf="${myconf} --disable-nls" + + ./configure --prefix=/usr \ + --libexecdir=/usr/lib/awk \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --host=${CHOST} \ + ${myconf} || die + + emake || die +} + +src_install() { + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + libexecdir=${D}/usr/lib/awk \ + install || die + cd ${D}/usr/bin + rm gawk + ln -s gawk-${PV} gawk + cd ${S} + if [ -z "`use build`" ] + then + dosym gawk.1.gz /usr/share/man/man1/awk.1.gz + dodoc ChangeLog ACKNOWLEDGMENT COPYING FUTURES + dodoc LIMITATIONS NEWS PROBLEMS README + docinto README_d + dodoc README_d/* + docinto atari + dodoc atari/ChangeLog atari/README.1st + docinto awklib + dodoc awklib/ChangeLog + docinto pc + dodoc pc/ChangeLog + docinto posix + dodoc posix/ChangeLog + else + rm -rf ${D}/usr/share + fi +} |