wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="sg3_utils"
4 VERSION="1.42"
5 CATEGORY="system-tools"
6 SHORT_DESC="Low level utilities for devices that use a SCSI command set"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL BSD"
9 WEB_SITE="http://sg.danny.cz/sg/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/sg3_utils.html"
11 REPOLOGY="sg3-utils"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="http://sg.danny.cz/sg/p/$TARBALL"
16 SPLIT="libsgutils2 $PACKAGE $PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libsgutils2)
30 copy libsgutils2.so*
31 CAT="system-tools|library"
32 ;;
33 sg3_utils)
34 copy @std @rm
35 DEPENDS="libsgutils2"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }