You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-arch/innoextract/innoextract-1.8.ebuild

34 lines
702 B

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils
DESCRIPTION="A tool to unpack installers created by Inno Setup"
HOMEPAGE="https://constexpr.org/innoextract/"
SRC_URI="https://constexpr.org/innoextract/files/${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug +iconv +lzma"
RDEPEND="
dev-libs/boost:=
iconv? ( virtual/libiconv )
lzma? ( app-arch/xz-utils )"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DDEBUG=$(usex debug)
-DSET_OPTIMIZATION_FLAGS=OFF
-DSTRICT_USE=ON
-DUSE_LZMA=$(usex lzma)
-DWITH_CONV=$(usex iconv iconv builtin)
)
cmake-utils_src_configure
}