diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-11-14 19:32:45 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-11-14 19:32:45 +0000 |
commit | 4315efdaa4f6f0cae1031f34f01a93bfa01abdf9 (patch) | |
tree | 8a07ffc3e17dd75303ee5514b07d0f50e7237434 /sys-apps/gawk | |
parent | replaced hardcoding of apache path (diff) | |
download | gentoo-2-4315efdaa4f6f0cae1031f34f01a93bfa01abdf9.tar.gz gentoo-2-4315efdaa4f6f0cae1031f34f01a93bfa01abdf9.tar.bz2 gentoo-2-4315efdaa4f6f0cae1031f34f01a93bfa01abdf9.zip |
add awk headers
Diffstat (limited to 'sys-apps/gawk')
-rw-r--r-- | sys-apps/gawk/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/gawk/files/digest-gawk-3.1.1-r1 | 1 | ||||
-rw-r--r-- | sys-apps/gawk/gawk-3.1.1-r1.ebuild | 72 |
3 files changed, 79 insertions, 1 deletions
diff --git a/sys-apps/gawk/ChangeLog b/sys-apps/gawk/ChangeLog index b1cbfd47b533..c8548861ceb9 100644 --- a/sys-apps/gawk/ChangeLog +++ b/sys-apps/gawk/ChangeLog @@ -1,6 +1,11 @@ # 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.5 2002/07/21 16:36:05 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.6 2002/11/14 19:32:45 azarah Exp $ + +*gawk-3.1.1-r1 (14 Nov 2002) + + 14 Nov 2002; Martin Schlemmmer <azarah@gentoo.org> : + Install gawk headers into /usr/include/awk. *gawk-3.1.1 (21 Jul 2002) diff --git a/sys-apps/gawk/files/digest-gawk-3.1.1-r1 b/sys-apps/gawk/files/digest-gawk-3.1.1-r1 new file mode 100644 index 000000000000..d0f65dc6c181 --- /dev/null +++ b/sys-apps/gawk/files/digest-gawk-3.1.1-r1 @@ -0,0 +1 @@ +MD5 47e3754195bf32c8b78ad632bab903cd gawk-3.1.1.tar.gz 1875134 diff --git a/sys-apps/gawk/gawk-3.1.1-r1.ebuild b/sys-apps/gawk/gawk-3.1.1-r1.ebuild new file mode 100644 index 000000000000..f5f2254cd81a --- /dev/null +++ b/sys-apps/gawk/gawk-3.1.1-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-3.1.1-r1.ebuild,v 1.1 2002/11/14 19:32:45 azarah Exp $ + +IUSE="nls build" + +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" + +KEYWORDS="x86 ppc sparc sparc64 alpha" +SLOT="0" +LICENSE="GPL-2" + +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 \ + bindir=${D}/bin \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + libexecdir=${D}/usr/lib/awk \ + install || die + + rm -f ${D}/bin/{awk,gawk} + dosym gawk-${PV} /bin/awk + dosym gawk-${PV} /bin/gawk + #compat symlink + dodir /usr/bin + dosym ../../bin/gawk-${PV} /usr/bin/awk + dosym ../../bin/gawk-${PV} /usr/bin/gawk + + # Install headers + insinto /usr/include/awk + doins ${S}/*.h + + 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 +} + |