wok annotate libatasmart/receipt @ rev 20782
added libtool to check build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 14 14:57:20 2019 +0100 (2019-02-14) |
parents | b40b085ea0d4 |
children | eba6e70162a2 |
rev | line source |
---|---|
pankso@12472 | 1 # SliTaz package receipt. |
pankso@12472 | 2 |
pankso@12472 | 3 PACKAGE="libatasmart" |
pankso@12472 | 4 VERSION="0.18" |
pankso@12472 | 5 CATEGORY="system-tools" |
pankso@12472 | 6 SHORT_DESC="The libatasmart package is a disk reporting library." |
pankso@12472 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15472 | 8 LICENSE="LGPL2.1" |
pankso@12472 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@12472 | 10 WEB_SITE="http://0pointer.de/blog/projects/being-smart.html" |
pankso@12472 | 11 WGET_URL="http://0pointer.de/public/$TARBALL" |
pankso@12472 | 12 |
pankso@12472 | 13 DEPENDS="udev" |
pankso@12472 | 14 BUILD_DEPENDS="udev-dev" |
pankso@12472 | 15 |
pankso@12472 | 16 # Rules to configure and make the package. |
pankso@12472 | 17 compile_rules() |
pankso@12472 | 18 { |
pankso@12472 | 19 cd $src |
pankso@12472 | 20 ./configure --disable-static \ |
pankso@12472 | 21 $CONFIGURE_ARGS && |
pankso@12472 | 22 make && make install |
pankso@12472 | 23 } |
pankso@12472 | 24 |
pankso@12472 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12472 | 26 genpkg_rules() |
pankso@12472 | 27 { |
pankso@12472 | 28 mkdir -p $fs/usr/lib |
pankso@12472 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12472 | 30 cp -a $install/usr/sbin $fs/usr |
pankso@12472 | 31 } |