Install this version:
emerge -a =app-arch/unshield-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-arch/unshield-9999
Or alternatively:
emerge --autounmask-write -a =app-arch/unshield-9999
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Tool and library to extract CAB files from InstallShield installers"
HOMEPAGE="https://github.com/twogood/unshield"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/twogood/${PN}.git"
inherit git-r3
else
SRC_URI="https://github.com/twogood/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="static-libs"
RDEPEND="
dev-libs/openssl:=
sys-libs/zlib"
DEPEND="${RDEPEND}"
src_prepare() {
eapply_user
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DBUILD_STATIC=$(usex static-libs)
)
cmake_src_configure
}
Manage flags for this package:
euse -i <flag> -p app-arch/unshield |
euse -E <flag> -p app-arch/unshield |
euse -D <flag> -p app-arch/unshield
dev-libs/openssl:= sys-libs/zlib
dev-libs/openssl:= sys-libs/zlib