summaryrefslogtreecommitdiff
path: root/app-arch/unshield/unshield-1.6.2-r1.ebuild
blob: f6a5d9c1aa485d5d929c2f20a4dcc79ea3adbc2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="InstallShield CAB file extractor"
HOMEPAGE="https://github.com/twogood/unshield"
SRC_URI="https://github.com/twogood/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0/1"
KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv x86"

DEPEND="
	dev-libs/openssl:0=
	virtual/zlib:="
RDEPEND="${DEPEND}"

src_configure() {
	local mycmakeargs=(
		# OpenSSL is detected at build time, and used to determine
		# whether or not a hand-rolled md5 implementation is used. The build
		# system prefers OpenSSL's implementation if it's available, and OpenSSL
		# is common enough, so we prefer it too. Since the dependency is
		# automagic (there's no way to hide it), we require OpenSSL
		# unconditionally.
		-DUSE_OUR_OWN_MD5=OFF
		# test not included in tar file
		# TODO: check in future releases
		-DBUILD_TESTING=OFF
	)

	cmake_src_configure
}