mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
39 lines
966 B
Plaintext
39 lines
966 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Contributor: Michael Mason <ms13sp@gmail.com>
|
|
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
|
|
# Contributor: TBK <alpine@jjtc.eu>
|
|
pkgname=gawk
|
|
pkgver=4.2.1
|
|
pkgrel=0
|
|
pkgdesc="GNU awk pattern-matching language"
|
|
url="https://www.gnu.org/software/gawk/gawk.html"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
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
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="0e3006a795dc3ac91359a7d2590c0cccbfd39b18a1d491617d68505c55a2800355b1439050681b4fcacf65fb0d533151a046babe0fd774503037bab363ef2ae4 gawk-4.2.1.tar.xz"
|