wok view unshield/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents 47a33428b91f
children
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./rebuild.sh
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
36 cp -a $install/var/tmp/$PACKAGE/bin $fs/usr
37 cp -a $install/var/tmp/$PACKAGE/lib/*.so* $fs/usr/lib
38 }