wok-next view libatasmart/receipt @ rev 20277
remove samba-pam (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 10:43:54 2017 +0100 (2017-11-08) |
parents | 6c3718ca17b6 |
children | 2d54d154d5ca |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libatasmart"
4 VERSION="0.19"
5 CATEGORY="system-tools"
6 SHORT_DESC="Disk reporting library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://0pointer.de/blog/projects/being-smart.html"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://0pointer.de/public/$TARBALL"
14 BUILD_DEPENDS="eudev-dev"
15 SPLIT="libatasmart-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/stable/general/libatasmart.html
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 make &&
25 make docdir=/usr/share/doc/libatasmart-$VERSION install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 libatasmart)
33 copy @std
34 DEPENDS="eudev"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="libatasmart eudev-dev"
39 ;;
40 esac
41 }