wok-next annotate sg3_utils/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | cd7906120828 |
children | d5aab818505e |
rev | line source |
---|---|
pascal@20177 | 1 # SliTaz package receipt v2. |
pankso@12479 | 2 |
pankso@12479 | 3 PACKAGE="sg3_utils" |
pascal@20177 | 4 VERSION="1.42" |
pankso@12479 | 5 CATEGORY="system-tools" |
al@20557 | 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" |
al@20557 | 9 WEB_SITE="http://sg.danny.cz/sg/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/sg3_utils.html" |
al@20888 | 11 REPOLOGY="sg3-utils" |
al@20557 | 12 |
pascal@20177 | 13 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@12479 | 14 WGET_URL="http://sg.danny.cz/sg/p/$TARBALL" |
pankso@12479 | 15 |
al@21017 | 16 SPLIT="libsgutils2 $PACKAGE $PACKAGE-dev" |
pankso@12479 | 17 |
al@20557 | 18 compile_rules() { |
al@20647 | 19 ./configure \ |
al@20647 | 20 --disable-static \ |
al@20647 | 21 $CONFIGURE_ARGS && |
al@20604 | 22 fix libtool && |
al@20557 | 23 make && |
al@20557 | 24 make install |
pankso@12479 | 25 } |
pankso@12479 | 26 |
al@20557 | 27 genpkg_rules() { |
pascal@20177 | 28 case $PACKAGE in |
al@20557 | 29 libsgutils2) |
al@20557 | 30 copy libsgutils2.so* |
al@20557 | 31 CAT="system-tools|library" |
al@20557 | 32 ;; |
al@20557 | 33 sg3_utils) |
al@20557 | 34 copy @std @rm |
al@20557 | 35 DEPENDS="libsgutils2" |
al@20557 | 36 ;; |
al@20557 | 37 *-dev) |
al@20557 | 38 copy @dev |
al@20557 | 39 ;; |
pascal@20177 | 40 esac |
pankso@12479 | 41 } |