wok-next view sg3_utils/receipt @ rev 20477
gc: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 11 20:14:32 2018 +0100 (2018-03-11) |
parents | 10e6c72b2c15 |
children | 9e5dca6702bf |
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://sg.danny.cz/sg/"
11 WGET_URL="http://sg.danny.cz/sg/p/$TARBALL"
13 BUILD_DEPENDS=""
14 SPLIT="sg3_utils libsgutils2 sg3_utils-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 case $PACKAGE in
28 sg3_utils)
29 DEPENDS="libsgutils2"
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 ;;
33 libsgutils2)
34 CAT="system-tools|The sg_utils library."
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 ;;
38 sg3_utils-dev)
39 CAT="development|The sg_utils devel files."
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.*a $fs/usr/lib
42 cp -a $install/usr/include $fs/usr
43 ;;
44 esac
45 }