wok view unshield/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 5ea0ce1cecc0
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="unshield"
4 VERSION="1.5.1"
5 CATEGORY="utilities"
6 TAGS="windows exe cab"
7 SHORT_DESC="Extract files from InstallShield CAB archive."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/twogood/unshield/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz"
15 DEPENDS="zlib"
16 BUILD_DEPENDS="cmake zlib-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./rebuild.sh
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
35 cp -a $install/var/tmp/$PACKAGE/bin $fs/usr
36 cp -a $install/var/tmp/$PACKAGE/lib/*.so* $fs/usr/lib
37 }