X-Original-To: alpine-aports@lists.alpinelinux.org Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) by lists.alpinelinux.org (Postfix) with ESMTP id 0CF055C5923 for ; Wed, 25 Oct 2017 21:57:36 +0000 (GMT) Received: from localhost (sdaoden.eu [local]) by sdaoden.eu (OpenSMTPD) with ESMTPA id c6977f24; Wed, 25 Oct 2017 23:57:35 +0200 (CEST) Date: Wed, 25 Oct 2017 23:57:35 +0200 From: Steffen Nurpmeso To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] testing/mawk: new aport Message-ID: <8d7ab52a21d7870a7c6d94b1745030a7cffe1c0b.1508968655.git.steffen@sdaoden.eu> Mail-Followup-To: alpine-aports@lists.alpinelinux.org User-Agent: s-nail v14.9.5-7-g041b2934 Date: Wed, 25 Oct 2017 23:00:36 +0200 OpenPGP: id=232C220BCB5690A37BD22FFDEB66022795F382CE; url=https://www.sdaoden.eu/downloads/steffen.asc BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://invisible-island.net/mawk/mawk.html An implementation of new/posix awk --- testing/mawk/APKBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 testing/mawk/APKBUILD diff --git a/testing/mawk/APKBUILD b/testing/mawk/APKBUILD new file mode 100644 index 0000000..f29e865 --- /dev/null +++ b/testing/mawk/APKBUILD @@ -0,0 +1,45 @@ +# Maintainer: Steffen Nurpmeso +pkgname=mawk +pkgver=20171017 +pkgrel=0 +pkgdesc="An implementation of new/posix awk" +url="http://invisible-island.net/mawk/mawk.html" +arch=all +license=GPL2 +depends= +makedepends=byacc +subpackages="$pkgname-doc" +source="https://invisible-mirror.net/archives/mawk/$pkgname-1.3.4-$pkgver.tgz" + +builddir="$srcdir/$pkgname-1.3.4-$pkgver" + +# LD_LIBRARY_PATH is included via -rpath, so use system defaults only. +# And ensure no other paths sneak in. +unset LIBRARY_PATH LD_RUN_PATH +PATH=/sbin:/usr/sbin:/bin:/usr/bin +C_INCLUDE_PATH=/usr/include +LD_LIBRARY_PATH=/lib:/usr/lib +export PATH C_INCLUDE_PATH LD_LIBRARY_PATH + +build() { + cd "$builddir" + + ./configure --with-man2html=/usr/bin/mandoc # xxx not used + make +} + +check() { + cd "$builddir" + + make check +} + +package() { + cd "$builddir" + + install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname" + + install -Dm644 man/"$pkgname".1 "$pkgdir"/usr/share/man/man1/"$pkgname".1 +} + +sha512sums="4ed6ca0ecca12e7409d3d364b72dc6a2b411c61bf53fe8aa0b0cac65a3bdb941921c0b81d94f34c8ac9f4922c8c7566d347b5e6b5c74518ae3a88904f9e20f27 mawk-1.3.4-20171017.tgz" -- 2.14.3 --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---