wok-next annotate sg3_utils/receipt @ rev 18862
Up tzdata(2016a)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 28 17:55:47 2016 +0200 (2016-01-28) |
parents | 80a234c03f35 |
children | f496af4fe2bf |
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" |
pascal@15021 | 8 LICENSE="GPL BSD" |
pankso@12479 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pankso@12479 | 10 WEB_SITE="http://sg.danny.cz/sg/" |
pankso@12479 | 11 WGET_URL="http://sg.danny.cz/sg/p/$TARBALL" |
pankso@12479 | 12 |
pankso@12479 | 13 DEPENDS="libsgutils2" |
pankso@12479 | 14 BUILD_DEPENDS="" |
pankso@12479 | 15 |
pankso@12479 | 16 # Rules to configure and make the package. |
pankso@12479 | 17 compile_rules() |
pankso@12479 | 18 { |
pankso@12479 | 19 cd $src |
pankso@12479 | 20 ./configure \ |
pankso@12479 | 21 $CONFIGURE_ARGS && |
pankso@12479 | 22 make && make install |
pankso@12479 | 23 } |
pankso@12479 | 24 |
pankso@12479 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12479 | 26 genpkg_rules() |
pankso@12479 | 27 { |
pankso@12479 | 28 mkdir -p $fs/usr/lib |
pankso@12479 | 29 cp -a $install/usr/bin $fs/usr |
pankso@12479 | 30 [ -x "/usr/bin/cook" ] && cook libsgutils2 |
pankso@12479 | 31 } |