wok view isomaster/receipt @ rev 24545
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 24 19:32:16 2022 +0000 (2022-02-24) |
parents | 08f8778dd4ac |
children | 8fd2417994d1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="isomaster"
4 VERSION="1.3.15"
5 CATEGORY="utilities"
6 TAGS="ISO editor"
7 SHORT_DESC="Graphical ISO image editor."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://littlesvr.ca/isomaster/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="${WEB_SITE}releases/$TARBALL"
15 DEPENDS="gtk+ libxml2 xorg-libXdamage"
16 BUILD_DEPENDS="gtk+-dev intltool libxml2-dev xorg-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/snapshot/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p $install/usr/share/doc/bkisofs
30 make PREFIX=/usr &&
31 make PREFIX=/usr DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 mkdir -p $fs/etc
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/isomaster $fs/usr/share
43 rm $fs/usr/share/isomaster/icons/isomaster.png
45 cp -a $stuff/skel $fs/etc/skel
47 chown -R 0.0 $fs
48 }