wok-next annotate libatasmart/receipt @ rev 14196
emacs-pkg-*-mode: genpkg return value
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 13 09:50:50 2013 +0100 (2013-03-13) |
parents | |
children | 6c3718ca17b6 |
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" |
pankso@12472 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@12472 | 9 WEB_SITE="http://0pointer.de/blog/projects/being-smart.html" |
pankso@12472 | 10 WGET_URL="http://0pointer.de/public/$TARBALL" |
pankso@12472 | 11 |
pankso@12472 | 12 DEPENDS="udev" |
pankso@12472 | 13 BUILD_DEPENDS="udev-dev" |
pankso@12472 | 14 |
pankso@12472 | 15 # Rules to configure and make the package. |
pankso@12472 | 16 compile_rules() |
pankso@12472 | 17 { |
pankso@12472 | 18 cd $src |
pankso@12472 | 19 ./configure --disable-static \ |
pankso@12472 | 20 $CONFIGURE_ARGS && |
pankso@12472 | 21 make && make install |
pankso@12472 | 22 } |
pankso@12472 | 23 |
pankso@12472 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12472 | 25 genpkg_rules() |
pankso@12472 | 26 { |
pankso@12472 | 27 mkdir -p $fs/usr/lib |
pankso@12472 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12472 | 29 cp -a $install/usr/sbin $fs/usr |
pankso@12472 | 30 } |