wok-6.x annotate tazusb/receipt @ rev 2630

Up: tazlito, tazpkg, tazusb and tazwok for 2.0
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 16 02:19:06 2009 +0200 (2009-04-16)
parents 7b7ae0225f49
children 866fa2493b1b
rev   line source
pankso@362 1 # SliTaz package receipt.
pankso@362 2
pankso@362 3 PACKAGE="tazusb"
pankso@2630 4 VERSION="2.1"
pankso@362 5 CATEGORY="base-system"
pankso@362 6 SHORT_DESC="SliTaz LiveUSB utility."
pankso@362 7 MAINTAINER="spode@spodesabode.com"
pascal@687 8 DEPENDS="lzma"
pankso@362 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@362 10 WEB_SITE="http://www.slitaz.org/"
pankso@2322 11 WGET_URL="http://mirror.slitaz.org/sources/tazusb/$TARBALL"
pankso@362 12
pankso@362 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@362 14 #
pankso@362 15 genpkg_rules()
pankso@362 16 {
pankso@362 17 mkdir -p $fs/usr/bin $fs/usr/share/doc/$PACKAGE
pankso@362 18 cp -a $src/$PACKAGE $fs/usr/bin
pankso@2323 19 cp -a $src/${PACKAGE}box $fs/usr/bin
pankso@2326 20 cp -a $src/applications $fs/usr/share
pankso@362 21 cp -a $src/doc/$PACKAGE.en.html $fs/usr/share/doc/$PACKAGE
pankso@2323 22 chmod 755 $fs/usr/bin/*
pankso@362 23 chown -R root.root $fs
pankso@362 24 }