summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/innoextract/innoextract-1.2.ebuild')
-rw-r--r--app-arch/innoextract/innoextract-1.2.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/app-arch/innoextract/innoextract-1.2.ebuild b/app-arch/innoextract/innoextract-1.2.ebuild
new file mode 100644
index 00000000000..92b28ea35b8
--- /dev/null
+++ b/app-arch/innoextract/innoextract-1.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2012-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit cmake-utils
+
+DESCRIPTION="A tool to unpack installers created by Inno Setup"
+HOMEPAGE="http://innoextract.constexpr.org/"
+SRC_URI="mirror://github/dscharrer/InnoExtract/${P}.tar.gz
+ mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +lzma"
+
+DEPEND=">=dev-libs/boost-1.37
+ lzma? ( app-arch/xz-utils )"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md CHANGELOG )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_configure() {
+ use debug && CMAKE_BUILD_TYPE=Debug
+
+ local mycmakeargs=(
+ $(cmake-utils_use lzma USE_LZMA)
+ )
+
+ cmake-utils_src_configure
+}