wok annotate libatasmart/receipt @ rev 23696
Up libtcplay (3.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 27 09:29:39 2020 +0000 (2020-04-27) |
parents | 6c3718ca17b6 |
children | 3e2a0347b2f1 |
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 |
pankso@12472 | 17 # Rules to configure and make the package. |
pankso@12472 | 18 compile_rules() |
pankso@12472 | 19 { |
Hans-G?nter@21113 | 20 ./configure \ |
Hans-G?nter@21113 | 21 --disable-static \ |
pankso@12472 | 22 $CONFIGURE_ARGS && |
Hans-G?nter@21113 | 23 make -j 1 && |
Hans-G?nter@21113 | 24 make install |
pankso@12472 | 25 } |
pankso@12472 | 26 |
pankso@12472 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12472 | 28 genpkg_rules() |
pankso@12472 | 29 { |
pankso@12472 | 30 mkdir -p $fs/usr/lib |
Hans-G?nter@21113 | 31 |
Hans-G?nter@21113 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21113 | 33 cp -a $install/usr/sbin $fs/usr |
pankso@12472 | 34 } |