mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-10 03:01:44 +01:00
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Contributor: Michael Mason <ms13sp@gmail.com>
|
|
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
|
|
pkgname=gawk
|
|
pkgver=4.1.3
|
|
pkgrel=0
|
|
pkgdesc="GNU awk pattern-matching language"
|
|
url="http://www.gnu.org/software/gawk/gawk.html"
|
|
arch="all"
|
|
license="GPL"
|
|
subpackages="$pkgname-doc"
|
|
source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
|
|
|
|
_builddir="$srcdir/$pkgname-$pkgver"
|
|
prepare() {
|
|
cd "$_builddir"
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--disable-nls \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="97f8f44149ea9b9e94be97f68988be87 gawk-4.1.3.tar.xz"
|
|
sha256sums="e3cf55e91e31ea2845f8338bedd91e40671fc30e4d82ea147d220e687abda625 gawk-4.1.3.tar.xz"
|
|
sha512sums="8b9470a1bba397353f10e4e652e8589a637a49e8235fb39ca7681ae662fd27cd140c193d0634179c800f99e19b0e49aef55dfa6612f9695ba80760a36936a1c3 gawk-4.1.3.tar.xz"
|