wok-6.x view isomaster/receipt @ rev 12795

slitaz-base-files: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 18 09:43:02 2012 +0200 (2012-05-18)
parents ee3fbb1ed2cc
children 7bb096863642
line source
1 # SliTaz package receipt.
3 PACKAGE="isomaster"
4 VERSION="1.3.8"
5 CATEGORY="utilities"
6 SHORT_DESC="Graphical CD image (ISO) editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libxml2 xorg-libXdamage"
9 BUILD_DEPENDS="xorg-dev gtk+-dev libxml2-dev intltool"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://littlesvr.ca/isomaster/"
12 WGET_URL="http://littlesvr.ca/isomaster/releases/$TARBALL"
13 TAGS="iso editor"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make PREFIX=/usr &&
20 make PREFIX=/usr DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share $fs/etc
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/share/isomaster $fs/usr/share
29 rm $fs/usr/share/isomaster/icons/isomaster.png
30 cp -a $stuff/skel $fs/etc/skel
31 chown -R 0.0 $fs
32 }