diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-11-21 10:39:33 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-11-21 10:53:37 +0100 |
commit | f158c8cad1f11d65ccd2dbb482d70c64f141ae2e (patch) | |
tree | be12429b7cd8b7a552b85f14cc1d107f84f53ddc /dev-libs/confuse | |
parent | sys-kernel/gentoo-sources: linux-patches 4.13-18 (diff) | |
download | gentoo-f158c8cad1f11d65ccd2dbb482d70c64f141ae2e.tar.gz gentoo-f158c8cad1f11d65ccd2dbb482d70c64f141ae2e.tar.bz2 gentoo-f158c8cad1f11d65ccd2dbb482d70c64f141ae2e.zip |
dev-libs/confuse: Version bump.
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'dev-libs/confuse')
-rw-r--r-- | dev-libs/confuse/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/confuse/confuse-3.2.1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/confuse/Manifest b/dev-libs/confuse/Manifest index 744d3ecdca85..3feb433d810c 100644 --- a/dev-libs/confuse/Manifest +++ b/dev-libs/confuse/Manifest @@ -1,2 +1,3 @@ DIST confuse-3.0.tar.xz 449144 SHA256 bb75174e02aa8b44fa1a872a47beeea1f5fe715ab669694c97803eb6127cc861 SHA512 12279045b772e94d2e29201ab1d7aef1ef8e698780a22d6a282d12f51ccd9a437e7817a4dd5e39bdfc8dae79700b72aa0783b4b983a935d751403d2cffd1161e WHIRLPOOL fe9f792b9f0858029393a811da93746fb91dc6cc3c99bfcc3a183d7bc0f3600818b96df8d169c63e64a59cb0f3857a86298f0bfd4053c8360bcd2b6bd1e71156 +DIST confuse-3.2.1.tar.xz 470260 SHA256 23c63272baf2ef4e2cbbafad2cf57de7eb81f006ec347c00b954819824add25e SHA512 738bacf6a3abb9c64666fec103eb18c8456b994e7ba3562bdb090ef4eb33f0330da844de14d658ef44e74f90104f67ceaf408d21ddf0d251f4c6ddd80e0b387c WHIRLPOOL 40d44a6b8d3115b2f09600d5ee652f94ef61fba2072f749bd237f53741ae229f5551d3fdaca80d1ffda150521ac77099fe8a514c8a4bcfc438ea1d7dbdc36485 DIST confuse-3.2.tar.xz 470108 SHA256 a46abb8696026d314197b6a70ae1a1c296342a9a68aa69b1935709c1477a4e48 SHA512 4c81b52bca951ab46961ed91bf9e887f7940dedfb69eaf2f6905cb2d88275e635c80d2570797e4276b5cd970b805ab902da6cd6f89dc64216b0b02445c912acd WHIRLPOOL 5edf49bb58215b5694b66679c6638a16e0f9b3080f4b89b660d43329a622b9771f1403424a7eac1fccc6eaf7ffd80b1994629a09ebab3e29abda31bb902ba935 diff --git a/dev-libs/confuse/confuse-3.2.1.ebuild b/dev-libs/confuse/confuse-3.2.1.ebuild new file mode 100644 index 000000000000..0dfcf2c0b2f9 --- /dev/null +++ b/dev-libs/confuse/confuse-3.2.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils multilib-minimal + +DESCRIPTION="a configuration file parser library" +HOMEPAGE="http://www.nongnu.org/confuse/" +SRC_URI="https://github.com/martinh/libconfuse/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="ISC" +SLOT="0/2.0.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" + +IUSE="nls static-libs" + +DEPEND="sys-devel/flex + sys-devel/libtool + virtual/pkgconfig + nls? ( sys-devel/gettext )" +RDEPEND="nls? ( virtual/libintl[${MULTILIB_USEDEP}] )" + +DOCS=( AUTHORS ) + +src_prepare() { + eapply_user + multilib_copy_sources +} + +multilib_src_configure() { + # examples are normally compiled but not installed. They + # fail during a mingw crosscompile. + local ECONF_SOURCE=${BUILD_DIR} + econf \ + --enable-shared \ + --disable-examples \ + $(use_enable nls) \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + prune_libtool_files + + doman doc/man/man3/*.3 + dodoc -r doc/html + + docinto examples + dodoc examples/*.{c,conf} +} |