wok annotate unshield/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 471bec343ebc
children 47a33428b91f
rev   line source
erjo@755 1 # SliTaz package receipt.
erjo@755 2
erjo@755 3 PACKAGE="unshield"
Hans-G?nter@22082 4 VERSION="1.4.3"
erjo@755 5 CATEGORY="utilities"
Hans-G?nter@22082 6 TAGS="windows exe cab"
pankso@783 7 SHORT_DESC="Extract files from InstallShield CAB archive."
erjo@784 8 MAINTAINER="erjo@slitaz.org"
pascal@15601 9 LICENSE="MIT"
Hans-G?nter@22082 10 WEB_SITE="https://github.com/twogood/unshield/"
Hans-G?nter@22082 11
erjo@755 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22082 13 WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz"
erjo@755 14
pascal@15601 15 DEPENDS="zlib"
Hans-G?nter@22082 16 BUILD_DEPENDS="cmake zlib-dev"
pascal@15601 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
erjo@755 24 # Rules to configure and make the package.
erjo@755 25 compile_rules()
erjo@755 26 {
Hans-G?nter@22082 27 ./rebuild.sh
erjo@755 28 }
erjo@755 29
erjo@755 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@755 31 genpkg_rules()
erjo@755 32 {
erjo@755 33 mkdir -p $fs/usr/lib
Hans-G?nter@22082 34
Hans-G?nter@22082 35 cp -a $install/var/tmp/$PACKAGE/bin $fs/usr
Hans-G?nter@22082 36 cp -a $install/var/tmp/$PACKAGE/lib/*.so* $fs/usr/lib
erjo@755 37 }