diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2011-12-01 17:26:53 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2011-12-01 17:26:53 +0000 |
commit | 1be044c5eaa95bbb7261e0fb994f4ee956225dc6 (patch) | |
tree | 2ef86dc67b36e13fd26a5028b3ac4c3d72138b8a /app-misc/hivex | |
parent | Stable for HPPA (bug #391517). (diff) | |
download | historical-1be044c5eaa95bbb7261e0fb994f4ee956225dc6.tar.gz historical-1be044c5eaa95bbb7261e0fb994f4ee956225dc6.tar.bz2 historical-1be044c5eaa95bbb7261e0fb994f4ee956225dc6.zip |
Fix usage of autotools-utils.eclass, bug 392087. Thanks to mgorny and slepnoga
Package-Manager: portage-2.1.10.33/cvs/Linux x86_64
Diffstat (limited to 'app-misc/hivex')
-rw-r--r-- | app-misc/hivex/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/hivex/Manifest | 3 | ||||
-rw-r--r-- | app-misc/hivex/hivex-1.3.2-r1.ebuild | 81 |
3 files changed, 90 insertions, 2 deletions
diff --git a/app-misc/hivex/ChangeLog b/app-misc/hivex/ChangeLog index eab23ab0c07d..eca2989b292b 100644 --- a/app-misc/hivex/ChangeLog +++ b/app-misc/hivex/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/hivex # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/ChangeLog,v 1.10 2011/11/10 12:53:10 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/ChangeLog,v 1.11 2011/12/01 17:26:53 maksbotan Exp $ + +*hivex-1.3.2-r1 (01 Dec 2011) + + 01 Dec 2011; Maxim Koltsov <maksbotan@gentoo.org> +hivex-1.3.2-r1.ebuild: + Fix usage of autotools-utils.eclass, bug 392087. Thanks to mgorny and + slepnoga 10 Nov 2011; Maxim Koltsov <maksbotan@gentoo.org> hivex-1.3.2.ebuild: Fix pkg_setup to call python_pkg_setup, bug #389691. Thanks to Arfrever. diff --git a/app-misc/hivex/Manifest b/app-misc/hivex/Manifest index 34548f91d6c1..5b179a477fcb 100644 --- a/app-misc/hivex/Manifest +++ b/app-misc/hivex/Manifest @@ -4,6 +4,7 @@ AUX python-test-fix-1.3.2.patch 281 RMD160 5a87dc1bbda092acb5cbe5df220cb71597a42 DIST hivex-1.3.1.tar.gz 1078397 RMD160 5f42e555fae7c694421714b7e7e9909888b5b2f3 SHA1 71b54636b516f7c08767c826c2c630358f9e52de SHA256 dc18d94c88f088b9423ed429fe2fd95bab51fc66f86b6081a7c73e4093913328 DIST hivex-1.3.2.tar.gz 1082330 RMD160 4c762ee80b5347497559af0c78d7f3962487ca2d SHA1 cdd53de1f6f17a98333b0bde8193458d409fe861 SHA256 e02d664b262f616e842d58a3787315ceb239c5986ff0652b37af9aeed483025c EBUILD hivex-1.3.1.ebuild 1563 RMD160 3223dad9d06820cc293092e63b4342bb18225360 SHA1 8fd26711441a63047bdbd20a3e2e8ab9faecb8b1 SHA256 c6c0e8e3e611246fc5b7dbeee1ac95042fd087faf9eace150a9afd6d5bfdc762 +EBUILD hivex-1.3.2-r1.ebuild 1663 RMD160 dc2859b669ada581597541efc002275fcbffc39a SHA1 7882a0822a1894da201fe43a318522843c59e966 SHA256 738dce83615f00fc659c9eaf8c6a19246b14fbf1079b5018d91961e472bb9d42 EBUILD hivex-1.3.2.ebuild 1638 RMD160 e4af5618c5846ed6c17cd9e84352d6fac7f3b6eb SHA1 d714f60236f8b292fab1aa9fe2bb516c9b42e8e2 SHA256 6a39624af7390b633b01d7e6702e4bbdec7c448c4aada755ed2c507f8c3e743a -MISC ChangeLog 2011 RMD160 7dfc968b711884b56e1cba52644edf959016e405 SHA1 a9f34257ac036c6ad53bff0dde78e54eefd22276 SHA256 99a882bd3d7979f7473df8df976301cd9c90435c371e977b4f274d6446661ad4 +MISC ChangeLog 2202 RMD160 4d39086efef222215bb0c8f70181924157378c3f SHA1 d199c27f45d62b4df9cdd3e0955e239721b41f68 SHA256 290e5d25da50025c385b12616c9b0a2d65cfc3313abc5e170dd4f23fac5e48d0 MISC metadata.xml 327 RMD160 4d929f82166d31d5710f17e78f8c66f8fecef407 SHA1 cde31cdfff5ff2543719f2d83cf074261e06910a SHA256 ad8f529f9a202f44af4371b094874e9cd0857e8325396676a189b91e5dd544fc diff --git a/app-misc/hivex/hivex-1.3.2-r1.ebuild b/app-misc/hivex/hivex-1.3.2-r1.ebuild new file mode 100644 index 000000000000..1b56b5461c24 --- /dev/null +++ b/app-misc/hivex/hivex-1.3.2-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/hivex/hivex-1.3.2-r1.ebuild,v 1.1 2011/12/01 17:26:53 maksbotan Exp $ + +EAPI=4 + +WANT_AUTOMAKE="1.11" +AUTOTOOLS_IN_SOURCE_BUILD=1 + +PYTHON_DEPEND="python? 2:2.6" +inherit base autotools-utils perl-app python + +DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files" +HOMEPAGE="http://libguestfs.org" +SRC_URI="http://libguestfs.org/download/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ocaml readline perl python test static-libs ruby" + +RDEPEND="virtual/libiconv + virtual/libintl + dev-libs/libxml2:2 + ocaml? ( dev-lang/ocaml[ocamlopt] + dev-ml/findlib[ocamlopt] + ) + readline? ( sys-libs/readline ) + perl? ( dev-perl/IO-stringy ) + " + +DEPEND="${RDEPEND} + dev-lang/perl + perl? ( + test? ( dev-perl/Pod-Coverage + dev-perl/Test-Pod-Coverage ) ) + ruby? ( dev-ruby/rake ) + " +PATCHES=("${FILESDIR}"/autoconf_fix-${PV}.patch +"${FILESDIR}"/python-test-fix-${PV}.patch) +DOCS=(README) + +pkg_setup() { + if use python; then + python_set_active_version 2 + python_pkg_setup + python_need_rebuild + fi +} + +src_prepare() { + autotools-utils_src_prepare + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with readline) + $(use_enable ocaml) + $(use_enable perl) + --enable-nls + $(use_enable python) + $(use_enable ruby) + --disable-rpath ) + + autotools-utils_src_configure +} + +src_test() { + autotools-utils_src_compile check +} + +src_install() { + strip-linguas -i po + + autotools-utils_src_install "LINGUAS=""${LINGUAS}""" + + if use perl; then + fixlocalpod + fi +} |