summaryrefslogtreecommitdiffstats
path: root/main/gawk/APKBUILD
blob: 5bcd518d23633272c02455e98fa55d3dd9228c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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"