From b70981b68efcce5256eb11c6cd26ae123b10b6ea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 08:01:31 +0000 Subject: moved extra/* to main/ and fixed misc build issues --- main/gawk/APKBUILD | 30 ++++++++++++++++++++++++++++++ main/gawk/gawk.post-deinstall | 3 +++ 2 files changed, 33 insertions(+) create mode 100644 main/gawk/APKBUILD create mode 100644 main/gawk/gawk.post-deinstall (limited to 'main/gawk') diff --git a/main/gawk/APKBUILD b/main/gawk/APKBUILD new file mode 100644 index 00000000..5bcd518d --- /dev/null +++ b/main/gawk/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Michael Mason +# Maintainer: Natanael Copa +pkgname=gawk +pkgver=3.1.6 +pkgrel=1 +pkgdesc="GNU awk pattern-matching language" +url="http://www.gnu.org/software/gawk/gawk.html" +license="GPL" +depends="uclibc" +makedepends="" +install="$pkgname.post-deinstall" +subpackages="$pkgname-doc" +source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz + $install" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-nls + make || return 1 + make DESTDIR="$pkgdir" install + +} + +md5sums="b237751aef53c9ead9644e376bc53386 gawk-3.1.6.tar.gz +b84506d253e04db3c5af9016fead45a3 gawk.post-deinstall" diff --git a/main/gawk/gawk.post-deinstall b/main/gawk/gawk.post-deinstall new file mode 100644 index 00000000..99b57c46 --- /dev/null +++ b/main/gawk/gawk.post-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +busybox --install -s -- cgit v1.2.3