diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-01-01 19:40:31 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-01-01 19:40:48 +0100 |
commit | 046b86b0c101fb04d24a89b99116105d97912442 (patch) | |
tree | 2c2414b217ac7fd56aaa7ceae4912c4d5187f51b /sys-apps/mawk/mawk-1.3.4_p20171017.ebuild | |
parent | media-sound/timidity++: switched media-sound/jack-audio-connection-kit to vir... (diff) | |
download | gentoo-046b86b0c101fb04d24a89b99116105d97912442.tar.gz gentoo-046b86b0c101fb04d24a89b99116105d97912442.tar.bz2 gentoo-046b86b0c101fb04d24a89b99116105d97912442.zip |
sys-apps/mawk: Bump v1.3.4 snapshot release to 2017-10-17
Closes: https://bugs.gentoo.org/642984
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-apps/mawk/mawk-1.3.4_p20171017.ebuild')
-rw-r--r-- | sys-apps/mawk/mawk-1.3.4_p20171017.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sys-apps/mawk/mawk-1.3.4_p20171017.ebuild b/sys-apps/mawk/mawk-1.3.4_p20171017.ebuild new file mode 100644 index 000000000000..d90cc49f5a39 --- /dev/null +++ b/sys-apps/mawk/mawk-1.3.4_p20171017.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" + +RDEPEND="app-eselect/eselect-awk" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +DOCS=( ACKNOWLEDGMENT CHANGES README ) + +src_prepare() { + default + tc-export BUILD_CC +} + +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 +} |