1 |
commit: a60b3d30eb8940fa25856182246757b8f79ec446 |
2 |
Author: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 20 13:05:18 2015 +0000 |
4 |
Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 20 13:05:18 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60b3d30 |
7 |
|
8 |
app-arch/unshield: add libressl support |
9 |
|
10 |
app-arch/unshield/unshield-0.6_p20120308-r1.ebuild | 41 ++++++++++++++++++++++ |
11 |
1 file changed, 41 insertions(+) |
12 |
|
13 |
diff --git a/app-arch/unshield/unshield-0.6_p20120308-r1.ebuild b/app-arch/unshield/unshield-0.6_p20120308-r1.ebuild |
14 |
new file mode 100644 |
15 |
index 0000000..778549d |
16 |
--- /dev/null |
17 |
+++ b/app-arch/unshield/unshield-0.6_p20120308-r1.ebuild |
18 |
@@ -0,0 +1,41 @@ |
19 |
+# Copyright 1999-2015 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+# $Id$ |
22 |
+ |
23 |
+EAPI=4 |
24 |
+inherit autotools eutils |
25 |
+ |
26 |
+DESCRIPTION="InstallShield CAB file extractor" |
27 |
+HOMEPAGE="https://github.com/twogood/unshield http://sourceforge.net/projects/synce/" |
28 |
+SRC_URI="mirror://gentoo/${P}.tar.xz" |
29 |
+ |
30 |
+LICENSE="MIT" |
31 |
+SLOT="0" |
32 |
+KEYWORDS="~amd64 ~hppa ~ppc ~x86" |
33 |
+IUSE="libressl static-libs" |
34 |
+ |
35 |
+RDEPEND=" |
36 |
+ !libressl? ( dev-libs/openssl:0 ) |
37 |
+ libressl? ( dev-libs/libressl ) |
38 |
+ sys-libs/zlib" |
39 |
+DEPEND="${RDEPEND}" |
40 |
+ |
41 |
+src_prepare() { |
42 |
+ epatch "${FILESDIR}"/${PN}-bootstrap.patch |
43 |
+ ./bootstrap |
44 |
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467548 |
45 |
+ AT_M4DIR=m4 eautoreconf |
46 |
+} |
47 |
+ |
48 |
+src_configure() { |
49 |
+ econf \ |
50 |
+ $(use_enable static-libs static) \ |
51 |
+ --with-ssl |
52 |
+} |
53 |
+ |
54 |
+src_install() { |
55 |
+ emake DESTDIR="${D}" install |
56 |
+ dodoc README |
57 |
+ |
58 |
+ find "${D}" -name '*.la' -exec rm -f {} + |
59 |
+} |