Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-forensics/afflib: ChangeLog afflib-3.7.1.ebuild
Date: Thu, 31 May 2012 14:42:50
Message-Id: 20120531144240.5FC2A2004C@flycatcher.gentoo.org
1 radhermit 12/05/31 14:42:40
2
3 Modified: ChangeLog
4 Added: afflib-3.7.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.37 app-forensics/afflib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/afflib/ChangeLog?rev=1.37&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/afflib/ChangeLog?rev=1.37&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/afflib/ChangeLog?r1=1.36&r2=1.37
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-forensics/afflib/ChangeLog,v
20 retrieving revision 1.36
21 retrieving revision 1.37
22 diff -u -r1.36 -r1.37
23 --- ChangeLog 16 May 2012 22:35:53 -0000 1.36
24 +++ ChangeLog 31 May 2012 14:42:40 -0000 1.37
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-forensics/afflib
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/ChangeLog,v 1.36 2012/05/16 22:35:53 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/ChangeLog,v 1.37 2012/05/31 14:42:40 radhermit Exp $
30 +
31 +*afflib-3.7.1 (31 May 2012)
32 +
33 + 31 May 2012; Tim Harder <radhermit@g.o> +afflib-3.7.1.ebuild,
34 + +files/afflib-3.7.1-python-module.patch:
35 + Version bump.
36
37 16 May 2012; Tim Harder <radhermit@g.o> -afflib-3.6.12.ebuild:
38 Remove old.
39
40
41
42 1.1 app-forensics/afflib/afflib-3.7.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/afflib/afflib-3.7.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/afflib/afflib-3.7.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: afflib-3.7.1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-forensics/afflib/afflib-3.7.1.ebuild,v 1.1 2012/05/31 14:42:40 radhermit Exp $
52
53 EAPI="4"
54 PYTHON_DEPEND="python? 2"
55 AUTOTOOLS_AUTORECONF=1
56
57 inherit autotools-utils python
58
59 DESCRIPTION="Library that implements the AFF image standard"
60 HOMEPAGE="https://github.com/simsong/AFFLIBv3"
61 SRC_URI="mirror://github/simsong/AFFLIBv3/${P}.tar.gz"
62
63 LICENSE="BSD"
64 SLOT="0"
65 KEYWORDS="~amd64 ~hppa ~ppc ~x86"
66 IUSE="fuse ncurses python qemu readline s3 static-libs threads"
67
68 RDEPEND="dev-libs/expat
69 dev-libs/openssl
70 sys-libs/zlib
71 fuse? ( sys-fs/fuse )
72 ncurses? ( sys-libs/ncurses )
73 readline? ( sys-libs/readline )
74 s3? ( net-misc/curl )"
75 DEPEND="${RDEPEND}"
76
77 PATCHES=(
78 "${FILESDIR}"/${P}-python-module.patch
79 "${FILESDIR}"/${PN}-3.6.12-pyaff-header.patch
80 )
81
82 pkg_setup() {
83 if use python ; then
84 python_set_active_version 2
85 python_pkg_setup
86 fi
87 }
88
89 src_prepare() {
90 sed -i -e "/FLAGS/s: -g::" configure.ac || die
91 sed -i -e "/-static/d" tools/Makefile.am || die
92
93 autotools-utils_src_prepare
94 }
95
96 src_configure() {
97 # Hacks for automagic dependencies
98 use ncurses || export ac_cv_lib_ncurses_initscr=no
99 use readline || export ac_cv_lib_readline_readline=no
100
101 local myeconfargs=(
102 $(use_enable fuse)
103 $(use_enable python)
104 $(use_enable qemu)
105 $(use_enable s3)
106 $(use_enable threads threading)
107 )
108 autotools-utils_src_configure
109 }