wok annotate isomaster/receipt @ rev 25229

updated python-pyst2 (0.5.0 -> 0.5.1)
author Hans-G?nter Theisgen
date Wed Jul 13 16:59:13 2022 +0100 (2022-07-13)
parents 453c249b6219
children
rev   line source
pankso@42 1 # SliTaz package receipt.
pankso@42 2
pankso@42 3 PACKAGE="isomaster"
Hans-G?nter@24680 4 VERSION="1.3.16"
pankso@201 5 CATEGORY="utilities"
Hans-G?nter@21065 6 TAGS="ISO editor"
Hans-G?nter@21065 7 SHORT_DESC="Graphical ISO image editor."
pankso@42 8 MAINTAINER="pankso@slitaz.org"
pascal@15215 9 LICENSE="GPL2"
Hans-G?nter@21065 10 WEB_SITE="http://littlesvr.ca/isomaster/"
Hans-G?nter@21065 11
pankso@42 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@21065 13 WGET_URL="${WEB_SITE}releases/$TARBALL"
pankso@42 14
Hans-G?nter@24680 15 SUGGESTED="isomaster-lang"
pascal@15215 16 DEPENDS="gtk+ libxml2 xorg-libXdamage"
Hans-G?nter@22962 17 BUILD_DEPENDS="gtk+-dev intltool libxml2-dev xorg-dev"
pascal@15215 18
pascal@24425 19 # What is the latest version available today?
pascal@24425 20 current_version()
pascal@24425 21 {
pascal@24425 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 23 sed "/snapshot/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24425 24 }
pascal@24425 25
pankso@42 26 # Rules to configure and make the package.
pankso@42 27 compile_rules()
pankso@42 28 {
Hans-G?nter@22962 29 mkdir -p $install/usr/share/doc/bkisofs
Hans-G?nter@22962 30
Hans-G?nter@24680 31 make PREFIX=/usr &&
Hans-G?nter@24680 32 make install \
Hans-G?nter@24680 33 PREFIX=/usr \
Hans-G?nter@24680 34 DESTDIR=$DESTDIR
pankso@42 35 }
pankso@42 36
pankso@42 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@42 38 genpkg_rules()
pankso@42 39 {
Hans-G?nter@22962 40 mkdir -p $fs/usr/share
Hans-G?nter@22962 41 mkdir -p $fs/etc
Hans-G?nter@21065 42
Hans-G?nter@21065 43 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21065 44 cp -a $install/usr/share/isomaster $fs/usr/share
Hans-G?nter@21065 45
Hans-G?nter@24680 46 rm $fs/usr/share/isomaster/icons/isomaster.png
Hans-G?nter@21065 47
Hans-G?nter@21065 48 cp -a $stuff/skel $fs/etc/skel
Hans-G?nter@21065 49
Hans-G?nter@22962 50 chown -R 0.0 $fs
pankso@42 51 }