diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-14 02:22:19 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-14 02:22:56 -0500 |
commit | b1eb50599e4db7eb4501af75cbbfa22007081ea5 (patch) | |
tree | c94a34c882cc17adedd781e8c5f34349b2a62416 /system/mawk/APKBUILD | |
parent | b9e85bbdcf38547ef2ca4e5c2a6e6293bbcd2752 (diff) | |
download | packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.tar.gz packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.tar.bz2 packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.tar.xz packages-b1eb50599e4db7eb4501af75cbbfa22007081ea5.zip |
The New Plan
all pkgs needed to bootstrap -> system
others -> user
Diffstat (limited to 'system/mawk/APKBUILD')
-rw-r--r-- | system/mawk/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/system/mawk/APKBUILD b/system/mawk/APKBUILD new file mode 100644 index 000000000..bed717f6e --- /dev/null +++ b/system/mawk/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=mawk +pkgver=20161120 +pkgrel=1 +pkgdesc="Pattern scanning and text processing language" +url="http://invisible-island.net/mawk/mawk.html" +arch="all" +license="BSD-3-Clause" +subpackages="$pkgname-doc" +source="http://invisible-mirror.net/archives/$pkgname/$pkgname-1.3.4-$pkgver.tgz" +builddir="$srcdir/$pkgname-1.3.4-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + ln -s mawk "$pkgdir"/usr/bin/awk +} + +check() { + cd "$builddir" + make check +} + +sha512sums="c5edcbff4ab1e40eb9b178a045fcd426a5f3c93a3ab5bc1ca1fa85a0977b8c9060967fcbda4e4a6e9e68628f50a2814e22939676008dced529377d2cf9bda5b2 mawk-1.3.4-20161120.tgz" |