diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-05-24 16:47:24 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-05-24 16:47:54 +0200 |
commit | 878bb6e244293f1d523cdbe643d7308a9f211562 (patch) | |
tree | 30b5404501f388c2eb5360b658899839424a6454 /dev-libs/confuse | |
parent | sys-cluster/torque: fix CFLAGS munging on version bump to 4.2.10 (diff) | |
download | gentoo-878bb6e244293f1d523cdbe643d7308a9f211562.tar.gz gentoo-878bb6e244293f1d523cdbe643d7308a9f211562.tar.bz2 gentoo-878bb6e244293f1d523cdbe643d7308a9f211562.zip |
dev-libs/confuse: Version bump.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-libs/confuse')
-rw-r--r-- | dev-libs/confuse/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/confuse/confuse-3.1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/confuse/Manifest b/dev-libs/confuse/Manifest index 6aacbf670ddc..c353787e07a1 100644 --- a/dev-libs/confuse/Manifest +++ b/dev-libs/confuse/Manifest @@ -1 +1,2 @@ DIST confuse-3.0.tar.xz 449144 SHA256 bb75174e02aa8b44fa1a872a47beeea1f5fe715ab669694c97803eb6127cc861 SHA512 12279045b772e94d2e29201ab1d7aef1ef8e698780a22d6a282d12f51ccd9a437e7817a4dd5e39bdfc8dae79700b72aa0783b4b983a935d751403d2cffd1161e WHIRLPOOL fe9f792b9f0858029393a811da93746fb91dc6cc3c99bfcc3a183d7bc0f3600818b96df8d169c63e64a59cb0f3857a86298f0bfd4053c8360bcd2b6bd1e71156 +DIST confuse-3.1.tar.xz 468248 SHA256 8171f31e0071d5e4460269fdcc8b4e748cf23b4bf6bbe672f718a136dd63ca66 SHA512 64d6b11ffd2a32108c9a6e72cab00e6a7fe792d4400e68299336e8c8cebf3c352c7a6209c18336e22aaa478b3dd3945c641c91f3af9753c8b2bf42a6be9901d8 WHIRLPOOL c0b614b46e575de3f4e72cd7efc2d15846b255a8a437051a709fc42ea382f2b47b08e411c808fbeb084b83c7d013c770e7de792c0f60c2cdc1924f9545cc87d2 diff --git a/dev-libs/confuse/confuse-3.1.ebuild b/dev-libs/confuse/confuse-3.1.ebuild new file mode 100644 index 000000000000..163dcf76dc40 --- /dev/null +++ b/dev-libs/confuse/confuse-3.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/1.1.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} +} |