wok-current view isomaster/receipt @ rev 25368

libmpd: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 29 10:44:25 2022 +0000 (2022-07-29)
parents 453c249b6219
children
line source
1 # SliTaz package receipt.
3 PACKAGE="isomaster"
4 VERSION="1.3.16"
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 SUGGESTED="isomaster-lang"
16 DEPENDS="gtk+ libxml2 xorg-libXdamage"
17 BUILD_DEPENDS="gtk+-dev intltool libxml2-dev xorg-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/snapshot/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir -p $install/usr/share/doc/bkisofs
31 make PREFIX=/usr &&
32 make install \
33 PREFIX=/usr \
34 DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
41 mkdir -p $fs/etc
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/isomaster $fs/usr/share
46 rm $fs/usr/share/isomaster/icons/isomaster.png
48 cp -a $stuff/skel $fs/etc/skel
50 chown -R 0.0 $fs
51 }