# HG changeset patch # User Eric Joseph-Alexandre # Date 1269209344 -3600 # Node ID d42578331b79ddb231a2f8bb36851480881a9746 # Parent a57f6141ce9e97b8fe9432befc41ce7f26367796 Up: tazusb(2.3) + Improve recipe diff -r a57f6141ce9e -r d42578331b79 tazusb/receipt --- a/tazusb/receipt Sun Mar 21 17:28:20 2010 +0000 +++ b/tazusb/receipt Sun Mar 21 23:09:04 2010 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="tazusb" -VERSION="2.1" +VERSION="2.3" CATEGORY="base-system" SHORT_DESC="SliTaz LiveUSB utility." MAINTAINER="spode@spodesabode.com" @@ -11,15 +11,18 @@ WGET_URL="http://mirror.slitaz.org/sources/tazusb/$TARBALL" TAGS="slitaz" +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make DESTDIR=$PWD/_pkg install +} + # Rules to gen a SliTaz package suitable for Tazpkg. # genpkg_rules() { - mkdir -p $fs/usr/bin $fs/usr/share/doc/$PACKAGE - cp -a $src/$PACKAGE $fs/usr/bin - cp -a $src/${PACKAGE}box $fs/usr/bin - cp -a $src/applications $fs/usr/share - cp -a $src/doc/$PACKAGE.en.html $fs/usr/share/doc/$PACKAGE - chmod 755 $fs/usr/bin/* + mkdir -p $fs/ + cp -a $_pkg/usr $fs/ chown -R root.root $fs }