wok-next view sg3_utils/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents f48456621a9d
children
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="devel@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 }