gentoo/app-arch/unshield/unshield-1.6.2-r1.ebuild
Michał Górny ce9200747d
app-*/*: update for virtual/zlib
Update done using:

```
git grep -l zlib app-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g
git diff --name-only | xargs copybump
git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead
pkgcheck scan --commits -c VisibilityCheck --exit error
```

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-04 09:01:15 +01:00

37 lines
985 B
Bash

# 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
}