/[gentoo-x86]/app-arch/innoextract/innoextract-1.3.ebuild
Gentoo

Contents of /app-arch/innoextract/innoextract-1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jul 27 05:51:30 2012 UTC (8 years, 2 months ago) by jdhore
Branch: MAIN
Changes since 1.1: +3 -3 lines
marked x86 per bug 428224

(Portage version: 2.2.0_alpha120/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/innoextract/innoextract-1.3.ebuild,v 1.1 2012/07/03 18:22:55 hasufell Exp $
4
5 EAPI=4
6
7 inherit cmake-utils
8
9 DESCRIPTION="A tool to unpack installers created by Inno Setup"
10 HOMEPAGE="http://innoextract.constexpr.org/"
11 SRC_URI="mirror://github/dscharrer/InnoExtract/${P}.tar.gz
12 mirror://sourceforge/${PN}/${P}.tar.gz"
13
14 LICENSE="ZLIB"
15 SLOT="0"
16 KEYWORDS="~amd64 x86"
17 IUSE="debug doc +lzma"
18
19 RDEPEND=">=dev-libs/boost-1.37
20 lzma? ( app-arch/xz-utils )"
21 DEPEND="${RDEPEND}
22 doc? ( app-doc/doxygen )"
23
24 DOCS=( README.md CHANGELOG )
25
26 src_prepare() {
27 epatch "${FILESDIR}"/${P}-gentoo.patch
28 }
29
30 src_configure() {
31 use debug && CMAKE_BUILD_TYPE=Debug
32
33 local mycmakeargs=(
34 $(cmake-utils_use lzma USE_LZMA)
35 )
36
37 cmake-utils_src_configure
38 }
39
40 src_compile() {
41 cmake-utils_src_compile
42 use doc && cmake-utils_src_compile doc
43 }
44
45 src_install() {
46 cmake-utils_src_install
47 use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
48 }

  ViewVC Help
Powered by ViewVC 1.1.20