wok-current annotate libatasmart/receipt @ rev 24974
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 02 11:23:24 2022 +0000 (2022-05-02) |
parents | eba6e70162a2 |
children | 5926178cd6fa |
rev | line source |
---|---|
pankso@12472 | 1 # SliTaz package receipt. |
pankso@12472 | 2 |
pankso@12472 | 3 PACKAGE="libatasmart" |
Hans-G?nter@21113 | 4 VERSION="0.19" |
pankso@12472 | 5 CATEGORY="system-tools" |
Hans-G?nter@21113 | 6 SHORT_DESC="A disk reporting library." |
pankso@12472 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15472 | 8 LICENSE="LGPL2.1" |
pankso@12472 | 9 WEB_SITE="http://0pointer.de/blog/projects/being-smart.html" |
Hans-G?nter@21113 | 10 |
Hans-G?nter@21113 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@12472 | 12 WGET_URL="http://0pointer.de/public/$TARBALL" |
pankso@12472 | 13 |
pankso@12472 | 14 DEPENDS="udev" |
pankso@12472 | 15 BUILD_DEPENDS="udev-dev" |
pankso@12472 | 16 |
pascal@24074 | 17 current_version() |
pascal@24074 | 18 { |
pascal@24074 | 19 wget -O - http://git.0pointer.net/$PACKAGE.git/ 2>/dev/null | \ |
pascal@24074 | 20 sed '/tag.?h=v/!d;s|.*tag.?h=v||;s|.>.*||;q' |
pascal@24074 | 21 } |
pascal@24074 | 22 |
pankso@12472 | 23 # Rules to configure and make the package. |
pankso@12472 | 24 compile_rules() |
pankso@12472 | 25 { |
Hans-G?nter@21113 | 26 ./configure \ |
Hans-G?nter@21113 | 27 --disable-static \ |
pankso@12472 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@21113 | 29 make -j 1 && |
Hans-G?nter@21113 | 30 make install |
pankso@12472 | 31 } |
pankso@12472 | 32 |
pankso@12472 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12472 | 34 genpkg_rules() |
pankso@12472 | 35 { |
pankso@12472 | 36 mkdir -p $fs/usr/lib |
Hans-G?nter@21113 | 37 |
Hans-G?nter@21113 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21113 | 39 cp -a $install/usr/sbin $fs/usr |
pankso@12472 | 40 } |