summaryrefslogtreecommitdiff
path: root/dev-libs/popt
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/popt')
-rw-r--r--dev-libs/popt/Manifest2
-rw-r--r--dev-libs/popt/popt-1.19.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/popt/Manifest b/dev-libs/popt/Manifest
index b1dca7294e9e..42b762a9fcd5 100644
--- a/dev-libs/popt/Manifest
+++ b/dev-libs/popt/Manifest
@@ -1,3 +1,5 @@
DIST popt-1.18.tar.gz 580569 BLAKE2B c9c42eb12aa21764cde5e9b4a8b30125b547ae690b4d9d0d40b45bd3c1f7ae0b09d5086a588cf37e7bed71fe770ff840c0fd40ecf4ce5b7c1e874b938b6e0324 SHA512 86422e8762adda3d02d46c20ac74ffe389d4f991d552b6fea729f007345b6426cbeb71160284e2deaa2ce44ce754a9e6cf6ccbd64bff9bc2253df40cdc2f79a5
+DIST popt-1.19.tar.gz 596676 BLAKE2B 8f8965e2d339f0413e8d1da421ea7556526f39f089a822063d6fdc35b781a7c7ea84a91d6af3e25902c1f045f564ef956fc69cd4625e6cc008c9e3ca34923a9d SHA512 5d1b6a15337e4cd5991817c1957f97fc4ed98659870017c08f26f754e34add31d639d55ee77ca31f29bb631c0b53368c1893bd96cf76422d257f7997a11f6466
EBUILD popt-1.18.ebuild 1057 BLAKE2B ad6668d5d593b1b7501d4851edeec5934fa6e4de2ef4a309ef43330655e54a5952e78e5f9c4521c0eefadfbfcec1c953c8e2868ff116660989ed36896a3b3646 SHA512 b706249c10d63749176de4d37cad198c134ee2cbb98d06a871f5cc3cf0e1f6b837755f3e66c55ae674d3805d4d89596f309fb5eb2f30ee688a05db333b7a1f63
+EBUILD popt-1.19.ebuild 1229 BLAKE2B 46bc37c7d411a9b42aa587ed934f4a3fe89bd55feaab9319d51605e632b5aa1bc9cafe86ea09268766028e592d6963967721f71086288d948f401941060ccf3e SHA512 9dda8932df6851db52df6753baa28fc530b5c5144c7e9c3998baf0aa9f5d5e90aa3e37b37904180322cf5afa438726fae238f0c3a2b9a0d4b63f5db88cebab93
MISC metadata.xml 412 BLAKE2B 6fc4208a8032652bfc2f48606c900686475617e828264bb8c4adca481c0de8f73a67b39e418143c6e75e8dec185d15f6050b3b7bf7e2f3ba14bffd17a59b2418 SHA512 aa4b2d96f2588e7fd24fc7a7f793209b431c9628e1ac05f79bdb52edd1582fcf21e93491e2ee241ed8b3aab2b83a1b047c819d030413e013b0d90d4cd4ba2393
diff --git a/dev-libs/popt/popt-1.19.ebuild b/dev-libs/popt/popt-1.19.ebuild
new file mode 100644
index 000000000000..483bb167bd28
--- /dev/null
+++ b/dev-libs/popt/popt-1.19.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal libtool
+
+DESCRIPTION="Parse Options - Command line parser"
+HOMEPAGE="https://github.com/rpm-software-management/popt"
+SRC_URI="http://ftp.rpm.org/${PN}/releases/${PN}-1.x/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls static-libs"
+
+RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND="nls? ( >=sys-devel/gettext-0.19.8 )"
+
+src_prepare() {
+ default
+
+ # Unclear what the background to this is, perhaps
+ # https://git.exherbo.org/arbor.git/commit/?id=5545d22d3493279acf7a55246179f818ef22f5fa
+ sed -i -e 's:lt-test1:test1:' tests/testit.sh || die
+
+ elibtoolize
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --disable-werror
+ $(use_enable static-libs static)
+ $(use_enable nls)
+ )
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}