wok-6.x annotate dvd+rw-tools/receipt @ rev 5150
a2ps, dev86, icedtea6-jdk: compile_rules should be busybox compatible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 24 08:33:13 2010 +0100 (2010-03-24) |
parents | |
children | 740ce2db95e0 |
rev | line source |
---|---|
jozee@2724 | 1 # SliTaz package receipt. |
jozee@2724 | 2 |
jozee@2724 | 3 PACKAGE="dvd+rw-tools" |
jozee@2724 | 4 VERSION="7.1" |
jozee@2724 | 5 CATEGORY="multimedia" |
jozee@2724 | 6 SHORT_DESC="DVD RW tools" |
jozee@2724 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2724 | 8 DEPENDS="cdrkit" |
jozee@2724 | 9 BUILD_DEPENDS="cdrkit gcc-lib-base m4" |
jozee@2724 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2724 | 11 WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" |
jozee@2724 | 12 WGET_URL="$WEB_SITE/tools/$TARBALL" |
jozee@2724 | 13 |
jozee@2724 | 14 # Rules to configure and make the package. |
jozee@2724 | 15 compile_rules() |
jozee@2724 | 16 { |
jozee@2724 | 17 cd $src |
jozee@2724 | 18 patch -p1 -i ../stuff/build-7.1.patch |
jozee@2724 | 19 make |
jozee@2724 | 20 mkdir -p $PWD/_pkg/usr/bin/ |
jozee@2724 | 21 for bin in growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control; do |
jozee@2724 | 22 install -m755 $bin $PWD/_pkg/usr/bin/ |
jozee@2724 | 23 done |
jozee@2724 | 24 } |
jozee@2724 | 25 |
jozee@2724 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2724 | 27 genpkg_rules() |
jozee@2724 | 28 { |
jozee@2724 | 29 mkdir -p $fs/usr/bin |
jozee@2724 | 30 cp -a $_pkg/usr/bin/growisofs $fs/usr/bin |
jozee@2724 | 31 |
jozee@2724 | 32 } |