wok annotate lsscsi/receipt @ rev 15357
gcc+gcj: replace mkdir_p in shell script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 01 10:32:37 2013 +0000 (2013-10-01) |
parents | 8e44b7502050 |
children | 2a5cc8208d36 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="lsscsi" |
pascal@1498 | 4 VERSION="0.21" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Lists information about SCSI devices." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@621 | 8 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@2559 | 9 WEB_SITE="http://sg.danny.cz/scsi/lsscsi.html" |
pascal@2559 | 10 WGET_URL="http://sg.danny.cz/scsi/$TARBALL" |
pascal@2559 | 11 #WGET_URL="http://www.sfr-fresh.com/linux/misc/$TARBALL" |
erjo@621 | 12 |
erjo@621 | 13 # Rules to configure and make the package. |
erjo@621 | 14 compile_rules() |
erjo@621 | 15 { |
erjo@621 | 16 cd $src |
pascal@1498 | 17 ./configure --prefix=/usr $CONFIGURE_ARGS && |
erjo@621 | 18 make |
erjo@621 | 19 } |
erjo@621 | 20 |
erjo@621 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 22 genpkg_rules() |
erjo@621 | 23 { |
pankso@3483 | 24 mkdir -p $fs/usr/bin |
pankso@3483 | 25 cp -a $src/$PACKAGE $fs/usr/bin |
erjo@621 | 26 } |
erjo@621 | 27 |