wok-current view unshield/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-27) |
parents | 471bec343ebc |
children | 47a33428b91f |
line source
1 # SliTaz package receipt.
3 PACKAGE="unshield"
4 VERSION="1.4.3"
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 }