Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-forensics/afflib/
Date: Mon, 18 Feb 2019 21:24:04
Message-Id: 1550525014.7751f599df15540d6e782ff7dc30719a7f9f275d.pacho@gentoo
1 commit: 7751f599df15540d6e782ff7dc30719a7f9f275d
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 17 21:28:10 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 18 21:23:34 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7751f599
7
8 app-forensics/afflib: Version bump to 3.7.18
9
10 Package-Manager: Portage-2.3.58, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 app-forensics/afflib/Manifest | 1 +
14 app-forensics/afflib/afflib-3.7.18.ebuild | 67 +++++++++++++++++++++++++++++++
15 2 files changed, 68 insertions(+)
16
17 diff --git a/app-forensics/afflib/Manifest b/app-forensics/afflib/Manifest
18 index a0c224a9ee6..c77eff69a71 100644
19 --- a/app-forensics/afflib/Manifest
20 +++ b/app-forensics/afflib/Manifest
21 @@ -1,3 +1,4 @@
22 DIST afflib-3.7.17.tar.gz 533720 BLAKE2B da38d29b7dedc07a7594f24e263e04645aa0f04e561af1f31e54a40c76e62d8eff0e815ee5592d1bfe2e8873fc53701f0126bf0d0b595ce2df5d61f8bb52dc8c SHA512 21067a8cb7c7b3d75f91883b2f9b1c978e055a2df6331dc68245332226d042a6b82f9f5d996e6bd1d5155de511827d5636c75ab1ee0a6957815aab3bb1cff49b
23 +DIST afflib-3.7.18.tar.gz 540371 BLAKE2B 6c1837ebcb5cca97622736f38e61c35f149c045bc1a60acea455dd9059e8c60447cd8f45304fd55aa7f2e5f783d40e266a23d09b33209f9dc5441f971b8a188d SHA512 47ab74c86bbaedc2494558962f99463066e267f7a3f583902a53e1f488085a309b0d871093c67439033272c3ebf03d213649886930b9812013e66782ea84df85
24 DIST afflib-3.7.4.tar.gz 569346 BLAKE2B e296bf58499bff4d44c9f5e1dd7363b4a68581213ff04ab14ffbe35b877c8307da03fb49e967a722ad9869f6284de496b86258f1b20c7c9e6b6a6cdcf473a03f SHA512 58791388a05d614dd5f219a74173de2ff0938a1f93b21e2dd0731aca52ea544ba60cc4325f0d284937467ce600a4302b7a2f724d84710ecc7f12db1a22a8e41c
25 DIST afflib-3.7.8.tar.gz 518399 BLAKE2B 80bc168d63ff53d8f3c60aeb2a1f0d25eec39a1d850095f694a11b755d3a0cc9765be4ed076d07cb98185e8375004d12592d14c1fc370c95a15f054d02f96a55 SHA512 a547ea459c479ccba1b4805bcbbac6f670abdccf8fe6685406d0662483a2b643652e3798e6396ecb24cfeea9bf711f636aeebb64794637ee54e7dbb62c0bdbb7
26
27 diff --git a/app-forensics/afflib/afflib-3.7.18.ebuild b/app-forensics/afflib/afflib-3.7.18.ebuild
28 new file mode 100644
29 index 00000000000..720fd1226f8
30 --- /dev/null
31 +++ b/app-forensics/afflib/afflib-3.7.18.ebuild
32 @@ -0,0 +1,67 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
38 +
39 +inherit autotools python-single-r1
40 +
41 +MY_PN=AFFLIBv3
42 +MY_P="${MY_PN}-${PV}"
43 +
44 +DESCRIPTION="Library that implements the AFF image standard"
45 +HOMEPAGE="https://github.com/sshock/AFFLIBv3/"
46 +SRC_URI="https://github.com/sshock/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47 +
48 +LICENSE="BSD"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~x64-macos"
51 +IUSE="fuse libressl ncurses python qemu readline s3 static-libs threads"
52 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
53 +
54 +RDEPEND="
55 + dev-libs/expat
56 + sys-libs/zlib:0=
57 + fuse? ( sys-fs/fuse:= )
58 + !libressl? ( dev-libs/openssl:0= )
59 + libressl? ( dev-libs/libressl:= )
60 + ncurses? ( sys-libs/ncurses:0= )
61 + python? ( ${PYTHON_DEPS} )
62 + readline? ( sys-libs/readline:0= )
63 + s3? ( net-misc/curl )
64 +"
65 +DEPEND="${RDEPEND}"
66 +
67 +S="${WORKDIR}/${MY_P}"
68 +
69 +pkg_setup() {
70 + use python && python-single-r1_pkg_setup
71 +}
72 +
73 +src_prepare() {
74 + sed -i '/FLAGS/s: -g::' configure.ac || die
75 +
76 + default
77 + eautoreconf
78 +}
79 +
80 +src_configure() {
81 + # Hacks for automagic dependencies
82 + use ncurses || export ac_cv_lib_ncurses_initscr=no
83 + use readline || export ac_cv_lib_readline_readline=no
84 +
85 + local myeconfargs=(
86 + $(use_enable fuse)
87 + $(use_enable python)
88 + $(use_enable qemu)
89 + $(use_enable s3)
90 + $(use_enable static-libs static)
91 + $(use_enable threads threading)
92 + )
93 + econf "${myeconfargs[@]}"
94 +}
95 +
96 +src_install() {
97 + default
98 + find "${ED}" -name "*.la" -delete || die
99 +}