/[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.1 - (hide annotations) (download)
Tue Jul 3 18:22:55 2012 UTC (8 years, 3 months ago) by hasufell
Branch: MAIN
version bump

(Portage version: 2.2.0_alpha115/cvs/Linux x86_64)

1 hasufell 1.1 # Copyright 2012-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
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