diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-08-30 10:03:25 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-08-30 10:14:14 +0200 |
commit | 4025ca1249f7c1d10cc91c64a0c257d5f7df1a45 (patch) | |
tree | 4d48eb6b84f71bd3f6e6b7b9f544e580498a9cdd /sys-apps/mawk | |
parent | dev-libs/libusb: Bump to version 1.0.23 (diff) | |
download | gentoo-4025ca1249f7c1d10cc91c64a0c257d5f7df1a45.tar.gz gentoo-4025ca1249f7c1d10cc91c64a0c257d5f7df1a45.tar.bz2 gentoo-4025ca1249f7c1d10cc91c64a0c257d5f7df1a45.zip |
sys-apps/mawk: Bump to version 1.3.4_p20190203
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/mawk')
-rw-r--r-- | sys-apps/mawk/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/mawk/mawk-1.3.4_p20190203.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/mawk/Manifest b/sys-apps/mawk/Manifest index 071c617bcf70..f7c8aaf893e8 100644 --- a/sys-apps/mawk/Manifest +++ b/sys-apps/mawk/Manifest @@ -1,3 +1,4 @@ DIST mawk-1.3.4-20150503.tgz 468794 BLAKE2B 10a2942f990d67ebea3cf75c83beefbc58f6ad4ffc560260f8206a8fc79b03d1e4cb8bb4ad23b256a547b10e4885c1a0813f054aa60ab5cb1b20c8d974a508d8 SHA512 ac9dde6948328d8db94458448abdf7389f8862ae6093315dd19ed9d1cbeab60fca1fc7b084cda4ce09505010f7108612585e3c4ba9663ddf3adb869bf1d9d7b6 DIST mawk-1.3.4-20161120.tgz 461464 BLAKE2B 7481345b391198cc9ec47f6ad84f0f07e31c931a40d59bde401d00ea7bc74b728c8149f80187e5d73923496e2eef1ec70bc097aedf0b68630f73264d45d96ebd SHA512 c5edcbff4ab1e40eb9b178a045fcd426a5f3c93a3ab5bc1ca1fa85a0977b8c9060967fcbda4e4a6e9e68628f50a2814e22939676008dced529377d2cf9bda5b2 DIST mawk-1.3.4-20171017.tgz 460819 BLAKE2B 91cb4cd039ea7773b788db87389f8ec34914afc8b299fecfdd579fe89fc4e6d731bfdc9c06a2c6c3d75ab9e1022bf5dbe1c662962d6ccd8a8f6fe4f8589927ca SHA512 4ed6ca0ecca12e7409d3d364b72dc6a2b411c61bf53fe8aa0b0cac65a3bdb941921c0b81d94f34c8ac9f4922c8c7566d347b5e6b5c74518ae3a88904f9e20f27 +DIST mawk-1.3.4-20190203.tgz 466481 BLAKE2B f647c52872ff510f02ab44f13f6c51497abdecf3d6ab40faa2e419f726a15ebdb531607465bcaf2f53d032284251f9fd25e73734a72fc31c014a0a9f200613ed SHA512 64d5b1838d34d30e32966f46cb7457c865caccfe9fe1049d2645ba301b1ddb4efc18588115dbcf96234a2a0b791211a7f82264a3c81899459dc3029e65837646 diff --git a/sys-apps/mawk/mawk-1.3.4_p20190203.ebuild b/sys-apps/mawk/mawk-1.3.4_p20190203.ebuild new file mode 100644 index 000000000000..9b6695c63409 --- /dev/null +++ b/sys-apps/mawk/mawk-1.3.4_p20190203.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_P="${P/_p/-}" +DESCRIPTION="an (often faster than gawk) awk-interpreter" +HOMEPAGE="https://invisible-island.net/mawk/mawk.html" +SRC_URI="ftp://ftp.invisible-island.net/mawk/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="forced-sandbox" + +RDEPEND="app-eselect/eselect-awk" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +DOCS=( ACKNOWLEDGMENT CHANGES README ) + +PATCHES=( + "${FILESDIR}"/${PN}-1.3.4-sandbox.patch + "${FILESDIR}"/${PN}-1.3.4-sandbox-default.patch +) + +src_configure() { + tc-export BUILD_CC + econf $(use_enable forced-sandbox) +} + +src_install() { + default + + exeinto /usr/share/doc/${PF}/examples + doexe examples/* + docompress -x /usr/share/doc/${PF}/examples +} + +pkg_postinst() { + eselect awk update ifunset +} + +pkg_postrm() { + eselect awk update ifunset +} |