diff options
author | Tim Harder <radhermit@gentoo.org> | 2013-11-10 07:31:14 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2013-11-10 07:31:14 +0000 |
commit | c0940aebfa3f219ea382bfe34b8ed3d7b1647477 (patch) | |
tree | ad53fc307849e927fc477fcab092b2a0ee5ff15e /app-forensics/afflib | |
parent | update of sorts to src_test, tidy up (diff) | |
download | gentoo-2-c0940aebfa3f219ea382bfe34b8ed3d7b1647477.tar.gz gentoo-2-c0940aebfa3f219ea382bfe34b8ed3d7b1647477.tar.bz2 gentoo-2-c0940aebfa3f219ea382bfe34b8ed3d7b1647477.zip |
Version bump, migrate to python-single-r1.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'app-forensics/afflib')
-rw-r--r-- | app-forensics/afflib/ChangeLog | 7 | ||||
-rw-r--r-- | app-forensics/afflib/afflib-3.7.3.ebuild | 66 |
2 files changed, 72 insertions, 1 deletions
diff --git a/app-forensics/afflib/ChangeLog b/app-forensics/afflib/ChangeLog index 0a9424082b49..ff01d4b87b30 100644 --- a/app-forensics/afflib/ChangeLog +++ b/app-forensics/afflib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-forensics/afflib # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/ChangeLog,v 1.44 2013/05/03 08:15:11 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/ChangeLog,v 1.45 2013/11/10 07:31:14 radhermit Exp $ + +*afflib-3.7.3 (10 Nov 2013) + + 10 Nov 2013; Tim Harder <radhermit@gentoo.org> +afflib-3.7.3.ebuild: + Version bump, migrate to python-single-r1. 03 May 2013; Tim Harder <radhermit@gentoo.org> afflib-3.7.1.ebuild: Fix build with automake-1.13 (bug #467564). diff --git a/app-forensics/afflib/afflib-3.7.3.ebuild b/app-forensics/afflib/afflib-3.7.3.ebuild new file mode 100644 index 000000000000..1fdbcbb8d017 --- /dev/null +++ b/app-forensics/afflib/afflib-3.7.3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/afflib-3.7.3.ebuild,v 1.1 2013/11/10 07:31:14 radhermit Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_{6,7} ) +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_PRUNE_LIBTOOL_FILES=modules + +inherit autotools-utils python-single-r1 + +MY_PN=AFFLIBv3 +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Library that implements the AFF image standard" +HOMEPAGE="https://github.com/simsong/AFFLIBv3/" +SRC_URI="https://github.com/simsong/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" +IUSE="fuse ncurses python qemu readline s3 static-libs threads" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="dev-libs/expat + dev-libs/openssl + sys-libs/zlib + fuse? ( sys-fs/fuse ) + ncurses? ( sys-libs/ncurses ) + python? ( ${PYTHON_DEPS} ) + readline? ( sys-libs/readline ) + s3? ( net-misc/curl )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-3.7.1-python-module.patch + "${FILESDIR}"/${PN}-3.6.12-pyaff-header.patch +) + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + sed -i '/FLAGS/s: -g::' configure.ac || die + sed -i '/-static/d' tools/Makefile.am || die + + autotools-utils_src_prepare +} + +src_configure() { + # Hacks for automagic dependencies + use ncurses || export ac_cv_lib_ncurses_initscr=no + use readline || export ac_cv_lib_readline_readline=no + + local myeconfargs=( + $(use_enable fuse) + $(use_enable python) + $(use_enable qemu) + $(use_enable s3) + $(use_enable threads threading) + ) + autotools-utils_src_configure +} |