wok-current rev 5128
Up: tazusb(2.3) + Improve recipe
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 21 23:09:04 2010 +0100 (2010-03-21) |
parents | a57f6141ce9e |
children | dadda8243981 |
files | tazusb/receipt |
line diff
1.1 --- a/tazusb/receipt Sun Mar 21 17:28:20 2010 +0000 1.2 +++ b/tazusb/receipt Sun Mar 21 23:09:04 2010 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="tazusb" 1.7 -VERSION="2.1" 1.8 +VERSION="2.3" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="SliTaz LiveUSB utility." 1.11 MAINTAINER="spode@spodesabode.com" 1.12 @@ -11,15 +11,18 @@ 1.13 WGET_URL="http://mirror.slitaz.org/sources/tazusb/$TARBALL" 1.14 TAGS="slitaz" 1.15 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + make DESTDIR=$PWD/_pkg install 1.21 +} 1.22 + 1.23 # Rules to gen a SliTaz package suitable for Tazpkg. 1.24 # 1.25 genpkg_rules() 1.26 { 1.27 - mkdir -p $fs/usr/bin $fs/usr/share/doc/$PACKAGE 1.28 - cp -a $src/$PACKAGE $fs/usr/bin 1.29 - cp -a $src/${PACKAGE}box $fs/usr/bin 1.30 - cp -a $src/applications $fs/usr/share 1.31 - cp -a $src/doc/$PACKAGE.en.html $fs/usr/share/doc/$PACKAGE 1.32 - chmod 755 $fs/usr/bin/* 1.33 + mkdir -p $fs/ 1.34 + cp -a $_pkg/usr $fs/ 1.35 chown -R root.root $fs 1.36 }