wok-next view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="libatasmart"
4 VERSION="0.18"
5 CATEGORY="system-tools"
6 SHORT_DESC="The libatasmart package is a disk reporting library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://0pointer.de/blog/projects/being-smart.html"
10 WGET_URL="http://0pointer.de/public/$TARBALL"
12 DEPENDS="udev"
13 BUILD_DEPENDS="udev-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --disable-static \
20 $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 cp -a $install/usr/sbin $fs/usr
30 }