diff options
Diffstat (limited to 'dev-libs/popt')
-rw-r--r-- | dev-libs/popt/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/popt/files/fix-popt-pkgconfig-libdir.patch | 12 | ||||
-rw-r--r-- | dev-libs/popt/metadata.xml | 8 | ||||
-rw-r--r-- | dev-libs/popt/popt-1.16-r2.ebuild | 36 |
4 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/popt/Manifest b/dev-libs/popt/Manifest new file mode 100644 index 000000000000..e173c256b65a --- /dev/null +++ b/dev-libs/popt/Manifest @@ -0,0 +1,6 @@ +AUX fix-popt-pkgconfig-libdir.patch 519 SHA256 c73def3602304ff38f383981621ba294497d69bf8ae54da5c6172d459ddadc08 SHA512 8862cb25283f38d734aa1abaa4d29d1f018718be77d03a4f0533b6b8b2518581abf277eefd3b3d56d5f9ab9e00b544e816e83fca6863e86a66dacae0f9abbfd0 WHIRLPOOL fb19c8cf6bb957e5008bc887cab0461b61ebc6e6d8a6e616e653a5c7543fe4b8f018e321167d9036e33b99884dce05975260d64a8a9f4638cfa3165dfe723395 +DIST popt-1.16.tar.gz 702769 SHA256 e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8 SHA512 bae2dd4e5d682ef023fdc77ae60c4aad01a3a576d45af9d78d22490c11e410e60edda37ede171920746d4ae0d5de3c060d15cecfd41ba75b727a811be828d694 WHIRLPOOL 0f6ffe7dcab6dcca718f0c79a30d620d0cc2583d2c1018e4eb2357d7594df6b282c68a9e9b14f5c00731ef3abb0a39c98c3f8fa5a7331137702aea34682c7b4c +EBUILD popt-1.16-r2.ebuild 941 SHA256 ee731ff7a0770fd6fe6437e45727ee38382154ca4c534ed66dc8e0e5b9482bb2 SHA512 4155a187066ba325fde15c0e9d39fc58e987eecd3dd40e4f41ac0a5cd68a252de605a78b0b4833aa0a5fb0d4a3bddc7d4da222464776bc7e91a0dd2e39340fbb WHIRLPOOL bcdd2d62e195959afdeab50d7085f035222af7b795c008019fd98a04f31ae02f314f976686fb9d255890e4b5d1e67b8d1b8a2dff7bd7058706696227b307fd55 +MISC ChangeLog 2514 SHA256 059ec0a6c43c16b9dd1bf7a82cea70523d64bdf5ccbd65480d22e72570c92b40 SHA512 83f8d80c7d7e1142f288340fcf59c2e45d46f7d8f74882c600078fb665d9bd34fa6efbd344fe25b4fd5df5d326560f1818bd4c655cb4ae655072b8eaaf4bbef4 WHIRLPOOL a77971beb95e3bb3129204eeb7e586d004fb48090a220f2fba07721a7edfa8389d803bc7596e4dbc9f3a326694e89f9e656e11bbda98ae07de46e0dfe09fca6e +MISC ChangeLog-2015 14481 SHA256 cb1de3670b7513de4f342dfb976db18ef6a7bd02d82caadff9a5269b63880bcb SHA512 bcf55cc938b0fa88f8c87d85cae0952633e8735135a1a91f976c178d57992aa0978b928703152b66be1624795deb4f3ab83f8ebf682e7dbc39049539a85efce6 WHIRLPOOL 75c6012b586ed439d37eea3ad8aa0ac52a12810f49caa7cd4063d3a2c6b41c54d493e247ebbafbcfb604ef2ebd55589a0586768797fe8ceaccdd563e72772475 +MISC metadata.xml 263 SHA256 cefa459d7f30f681bad9f2b55f5c5cd2ac880a8752230b2d66194b285912c00c SHA512 b25a1229f571493fdde40749d60d17d411676854bc3f73810e15edac8a2a930d3633f46a6f7f5a7ec6cf7f36b9ef690a7e03916c7c76869315f5ba1f862fd0f0 WHIRLPOOL 6a5e403e0bd9ddaa18b220db8418f8e94dc5d15cbbdef4f9994d9f41b4e1f24d017927a5ce2291b7a1de38d567fe0967ff4a49b63eb41d287eb438167c560e3a diff --git a/dev-libs/popt/files/fix-popt-pkgconfig-libdir.patch b/dev-libs/popt/files/fix-popt-pkgconfig-libdir.patch new file mode 100644 index 000000000000..32e1bb353037 --- /dev/null +++ b/dev-libs/popt/files/fix-popt-pkgconfig-libdir.patch @@ -0,0 +1,12 @@ +diff -u popt-1.16.orig/Makefile.in popt-1.16/Makefile.in +--- popt-1.16.orig/Makefile.in 2010-05-04 16:55:59.000000000 -0400 ++++ popt-1.16/Makefile.in 2010-12-23 22:45:42.843131000 -0500 +@@ -370,7 +370,7 @@ + libpopt_la_SOURCES = popt.c poptparse.c poptconfig.c popthelp.c poptint.c + libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@ @LTLIBICONV@ \ + $(am__append_1) +-pkgconfigdir = $(prefix)/lib/pkgconfig ++pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = popt.pc + man_MANS = popt.3 + BUILT_SOURCES = popt.pc # popt.lcd diff --git a/dev-libs/popt/metadata.xml b/dev-libs/popt/metadata.xml new file mode 100644 index 000000000000..3e60a9a347a4 --- /dev/null +++ b/dev-libs/popt/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>base-system@gentoo.org</email> + <name>Gentoo Base System</name> + </maintainer> +</pkgmetadata> diff --git a/dev-libs/popt/popt-1.16-r2.ebuild b/dev-libs/popt/popt-1.16-r2.ebuild new file mode 100644 index 000000000000..f8cdbd195302 --- /dev/null +++ b/dev-libs/popt/popt-1.16-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils multilib-minimal libtool + +DESCRIPTION="Parse Options - Command line parser" +HOMEPAGE="http://rpm5.org/" +SRC_URI="http://rpm5.org/files/popt/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux" +IUSE="nls static-libs" + +RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )" +DEPEND="nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/fix-popt-pkgconfig-libdir.patch #349558 + sed -i -e 's:lt-test1:test1:' testit.sh || die + elibtoolize +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --disable-dependency-tracking \ + $(use_enable static-libs static) \ + $(use_enable nls) +} + +multilib_src_install_all() { + dodoc CHANGES README + prune_libtool_files --all +} |