wok-next view libatasmart/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 2d54d154d5ca |
children | f48456621a9d |
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"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libatasmart.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://0pointer.de/public/$TARBALL"
15 BUILD_DEPENDS="eudev-dev"
16 SPLIT="libatasmart-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make docdir=/usr/share/doc/$PACKAGE-$VERSION install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libatasmart)
30 copy @std
31 DEPENDS="eudev"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libatasmart eudev-dev"
36 ;;
37 esac
38 }