wok annotate sg3_utils/receipt @ rev 13811
xterm: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 10:23:03 2013 +0100 (2013-01-06) |
parents | |
children | 10e6c72b2c15 |
rev | line source |
---|---|
pankso@12479 | 1 # SliTaz package receipt. |
pankso@12479 | 2 |
pankso@12479 | 3 PACKAGE="sg3_utils" |
pankso@12479 | 4 VERSION="1.29" |
pankso@12479 | 5 CATEGORY="system-tools" |
pankso@12479 | 6 SHORT_DESC="Low level utilities for devices that use a SCSI command set." |
pankso@12479 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@12479 | 8 TARBALL="$PACKAGE-$VERSION.tgz" |
pankso@12479 | 9 WEB_SITE="http://sg.danny.cz/sg/" |
pankso@12479 | 10 WGET_URL="http://sg.danny.cz/sg/p/$TARBALL" |
pankso@12479 | 11 |
pankso@12479 | 12 DEPENDS="libsgutils2" |
pankso@12479 | 13 BUILD_DEPENDS="" |
pankso@12479 | 14 |
pankso@12479 | 15 # Rules to configure and make the package. |
pankso@12479 | 16 compile_rules() |
pankso@12479 | 17 { |
pankso@12479 | 18 cd $src |
pankso@12479 | 19 ./configure \ |
pankso@12479 | 20 $CONFIGURE_ARGS && |
pankso@12479 | 21 make && make install |
pankso@12479 | 22 } |
pankso@12479 | 23 |
pankso@12479 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12479 | 25 genpkg_rules() |
pankso@12479 | 26 { |
pankso@12479 | 27 mkdir -p $fs/usr/lib |
pankso@12479 | 28 cp -a $install/usr/bin $fs/usr |
pankso@12479 | 29 [ -x "/usr/bin/cook" ] && cook libsgutils2 |
pankso@12479 | 30 } |