wok-current annotate sg3_utils/receipt @ rev 25604
Use gcc49 to build mysql
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 20:31:42 2023 +0000 (16 months ago) |
parents | 934055de50e2 |
children |
rev | line source |
---|---|
pankso@12479 | 1 # SliTaz package receipt. |
pankso@12479 | 2 |
pankso@12479 | 3 PACKAGE="sg3_utils" |
Hans-G?nter@25301 | 4 VERSION="1.47" |
pankso@12479 | 5 CATEGORY="system-tools" |
pankso@12479 | 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" |
Hans-G?nter@25301 | 9 WEB_SITE="https://sg.danny.cz/sg/sg3_utils.html" |
Hans-G?nter@23641 | 10 |
pankso@12479 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
Hans-G?nter@25301 | 12 WGET_URL="https://sg.danny.cz/sg/p/$TARBALL" |
pankso@12479 | 13 |
pankso@12479 | 14 DEPENDS="libsgutils2" |
pankso@12479 | 15 BUILD_DEPENDS="" |
pankso@12479 | 16 |
Hans-G?nter@25301 | 17 # @maintainer: Please update also libsgutils2 |
Hans-G?nter@25301 | 18 |
pascal@24462 | 19 # What is the latest version available today? |
pascal@24462 | 20 current_version() |
pascal@24462 | 21 { |
pascal@24462 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24462 | 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24462 | 24 } |
pascal@24462 | 25 |
pankso@12479 | 26 # Rules to configure and make the package. |
pankso@12479 | 27 compile_rules() |
pankso@12479 | 28 { |
Hans-G?nter@25301 | 29 export LDFLAGS="$LDFLAGS -lrt" |
Hans-G?nter@25301 | 30 |
Hans-G?nter@25301 | 31 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@23641 | 32 make && |
Hans-G?nter@23641 | 33 make install |
pankso@12479 | 34 } |
pankso@12479 | 35 |
pankso@12479 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12479 | 37 genpkg_rules() |
pankso@12479 | 38 { |
Hans-G?nter@25301 | 39 cook_copy_folders bin |
pankso@12479 | 40 } |