wok view sg3_utils/receipt @ rev 24882
updated mc (4.8.24 -> 4.8.28)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 31 17:36:19 2022 +0100 (2022-03-31) |
parents | 598e8c4f7768 |
children | 7fb83ac61334 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sg3_utils"
4 VERSION="1.45"
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/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="${WEB_SITE}p/$TARBALL"
14 DEPENDS="libsgutils2"
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 [ -x "/usr/bin/cook" ] &&
40 cook libsgutils2
41 }