wok-6.x annotate sg3_utils/receipt @ rev 14498
Add python-netaddr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 11 13:47:18 2013 +0200 (2013-05-11) |
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 } |