wok-6.x annotate isomaster/receipt @ rev 24554
updated flac and flac-dev again (1.3.3 -> 1.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 11:25:23 2022 +0100 (2022-02-25) |
parents | 08f8778dd4ac |
children | 8fd2417994d1 |
rev | line source |
---|---|
pankso@42 | 1 # SliTaz package receipt. |
pankso@42 | 2 |
pankso@42 | 3 PACKAGE="isomaster" |
Hans-G?nter@22962 | 4 VERSION="1.3.15" |
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 |
pascal@15215 | 15 DEPENDS="gtk+ libxml2 xorg-libXdamage" |
Hans-G?nter@22962 | 16 BUILD_DEPENDS="gtk+-dev intltool libxml2-dev xorg-dev" |
pascal@15215 | 17 |
pascal@24425 | 18 # What is the latest version available today? |
pascal@24425 | 19 current_version() |
pascal@24425 | 20 { |
pascal@24425 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 22 sed "/snapshot/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 23 } |
pascal@24425 | 24 |
pankso@42 | 25 # Rules to configure and make the package. |
pankso@42 | 26 compile_rules() |
pankso@42 | 27 { |
Hans-G?nter@22962 | 28 mkdir -p $install/usr/share/doc/bkisofs |
Hans-G?nter@22962 | 29 |
pascal@2517 | 30 make PREFIX=/usr && |
pankso@12404 | 31 make PREFIX=/usr DESTDIR=$DESTDIR install |
pankso@42 | 32 } |
pankso@42 | 33 |
pankso@42 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 35 genpkg_rules() |
pankso@42 | 36 { |
Hans-G?nter@22962 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@22962 | 38 mkdir -p $fs/etc |
Hans-G?nter@21065 | 39 |
Hans-G?nter@21065 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21065 | 41 cp -a $install/usr/share/isomaster $fs/usr/share |
Hans-G?nter@21065 | 42 |
pankso@462 | 43 rm $fs/usr/share/isomaster/icons/isomaster.png |
Hans-G?nter@21065 | 44 |
Hans-G?nter@21065 | 45 cp -a $stuff/skel $fs/etc/skel |
Hans-G?nter@21065 | 46 |
Hans-G?nter@22962 | 47 chown -R 0.0 $fs |
pankso@42 | 48 } |