diff options
Diffstat (limited to 'sys-apps/mawk')
-rw-r--r-- | sys-apps/mawk/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/mawk/mawk-1.3.4_p20230808.ebuild | 51 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-apps/mawk/Manifest b/sys-apps/mawk/Manifest index ed360e9ad005..4ff2374127a5 100644 --- a/sys-apps/mawk/Manifest +++ b/sys-apps/mawk/Manifest @@ -6,8 +6,11 @@ DIST mawk-1.3.4-20230525.tgz 403222 BLAKE2B 9ecb6e469b4318dd78fc70f15864f9cb622e DIST mawk-1.3.4-20230525.tgz.asc 729 BLAKE2B b1c8d4cc9660a6e35564f955cb51b48ef7656a8e5cced230e9cdea195565133ac74eeade06d2b37bd60e3ee29d44f53bd1ed80cc9c6143d346583aa73f317e34 SHA512 d3826291598db6d7ffc60571f125a1efeab8abc7ce1397c07a2b1bb8d0439091a95f7d0ad19bd55b629dba2eabf9719eeece6fa7c50d246e4d73ab8564742ca1 DIST mawk-1.3.4-20230730.tgz 410248 BLAKE2B 8f686e728084c576ed98a59e0083a79c259011e278f97cb39237f6789a9caa03cf2dfa8ec6bea5e35d467b14548a6a13155a5232f46506da2c3927eead43c8a2 SHA512 a38dad468db614e36149916656c22b0dcd3e66ce4be73dada355f9c96c3b4c864d81cbd65608cbed315050a36e2a3bd049e28ce41818cd5da260141b4548bf46 DIST mawk-1.3.4-20230730.tgz.asc 729 BLAKE2B 073751f74bb3c94b9bccbb549f900936c09e878921a46a81c757c6849df583fc496251663392456fe6d58b4efb2e0c46b0c0f26589ae35142c1ea187166504cc SHA512 28b0d46248beb0244a9d584690b70338cb29f6b08c29350522e91d56ce2ab625f9696a637fa23b4b43448883f79c6a007d731367274285ec7fa45547f22b910d +DIST mawk-1.3.4-20230808.tgz 410937 BLAKE2B 292774aed97b7e91de71bb978fe87014cf6ef9a5fdfd85abde1ad19317b270ff2d63a47b697f506ca20a2cb780f038f7364c6a6269b2a46102647f32cd2907b8 SHA512 fbf860a70d2e919018a44e43351c2558737a6694c416c17bc1669b5fa18bebedfefbfe3edddaa28143d0445d838c38958b28a92d85d03ef2f2af6d94737abe2c +DIST mawk-1.3.4-20230808.tgz.asc 729 BLAKE2B b1765478576eb624db454ec27969f1ddc3cab7eb94e3725600dd58434972251f3fc0bfe30858bcd05e0e638282a2e035f5b9b2f207f52548307c536556fd731d SHA512 3e7414e0fcc81c6b93c09ba429f189570bb65f91e8b8866ea6beffc0fbd3c983a19f74c7578d55c5a55795fbbb1d1bf62c4927873f40300c79bed9e32006824c EBUILD mawk-1.3.4_p20230322.ebuild 1297 BLAKE2B 2441a6a9e0654d55e0abf9436c023508f9928ae2d27264c88b4bf69220ac16fc2effc7ecb3a2b28a527a5e9eecb3835784483ee0bbc45de529e20e83458fc16b SHA512 9530150a54bf4adb17a9dc24719304e145163fabdc53d9ad649d8ccfed9cc697afd6d27f91429a39839bc88dc24989b49c52f6acbda97554842f13c9008ac948 EBUILD mawk-1.3.4_p20230404.ebuild 1305 BLAKE2B 5555b4d2e6b60e114c6cdc0c5fa626c0d54644344f3130ebc077e023a48870fc9504c5240210bbfe81fcec5de74476a708a44c2442b64e6369a5e1afdbfa1e82 SHA512 2afdcb0a33b1b082c47f4a9021871a514bab190c9b69d84b20962a980014b7669e8848d0011846f99168cadb861a024343986c079564a4a45eb05d1969853cfa EBUILD mawk-1.3.4_p20230525.ebuild 1297 BLAKE2B 2441a6a9e0654d55e0abf9436c023508f9928ae2d27264c88b4bf69220ac16fc2effc7ecb3a2b28a527a5e9eecb3835784483ee0bbc45de529e20e83458fc16b SHA512 9530150a54bf4adb17a9dc24719304e145163fabdc53d9ad649d8ccfed9cc697afd6d27f91429a39839bc88dc24989b49c52f6acbda97554842f13c9008ac948 EBUILD mawk-1.3.4_p20230730.ebuild 1316 BLAKE2B a282c0528b2f9894583148aec69c5a5eed50281f3c3ca279ec09ed6ffd51abfd578ec71581cc1736ac0d89d0a5fb918879fa0ead4826d99b3a32124f44e507e1 SHA512 bee99f8b22cbf5cf9b472e45bfdab0addfdbcb81042bb4b13539d90814ee9c9450bdbc80b9170ecebba1901b91e9db7fff4cbb4c269869c61e89a041e2bfa8ad +EBUILD mawk-1.3.4_p20230808.ebuild 1316 BLAKE2B a282c0528b2f9894583148aec69c5a5eed50281f3c3ca279ec09ed6ffd51abfd578ec71581cc1736ac0d89d0a5fb918879fa0ead4826d99b3a32124f44e507e1 SHA512 bee99f8b22cbf5cf9b472e45bfdab0addfdbcb81042bb4b13539d90814ee9c9450bdbc80b9170ecebba1901b91e9db7fff4cbb4c269869c61e89a041e2bfa8ad MISC metadata.xml 422 BLAKE2B 8bd344848b5247eb1858b7cd31d91a796671c321610b826e602d9350e59769a4e6612438d9bf89ee2d6d63c327729d88a9ccb538b162beb816fde2910d0a4d9a SHA512 9adcc3c3b54ee935d3363e874e76f9e9b1efee00faac94184a84d10a6600dad4f11da51d4567acabf63707ca55f9b3d5ac3df107c6de8b38cad1da9891e82086 diff --git a/sys-apps/mawk/mawk-1.3.4_p20230808.ebuild b/sys-apps/mawk/mawk-1.3.4_p20230808.ebuild new file mode 100644 index 000000000000..169892e2ceef --- /dev/null +++ b/sys-apps/mawk/mawk-1.3.4_p20230808.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc +inherit toolchain-funcs verify-sig + +MY_P="${P/_p/-}" +DESCRIPTION="An (often faster than gawk) awk-interpreter" +HOMEPAGE="https://invisible-island.net/mawk/mawk.html" +SRC_URI="https://invisible-mirror.net/archives/${PN}/${MY_P}.tgz" +SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${MY_P}.tgz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-thomasdickey-20230810 )" + +DOCS=( ACKNOWLEDGMENT CHANGES README ) + +QA_CONFIG_IMPL_DECL_SKIP=( + arc4random_push # doesn't exist on Linux +) + +src_configure() { + tc-export BUILD_CC + econf +} + +src_install() { + default + + exeinto /usr/share/doc/${PF}/examples + doexe examples/* + docompress -x /usr/share/doc/${PF}/examples +} + +pkg_postinst() { + if has_version app-admin/eselect && has_version app-eselect/eselect-awk; then + eselect awk update ifunset + fi +} + +pkg_postrm() { + if has_version app-admin/eselect && has_version app-eselect/eselect-awk; then + eselect awk update ifunset + fi +} |