wok-next annotate libatasmart/receipt @ rev 19812
Up cookutils, libatasmart, libfm-extra, libfm, lxappearance, lxmenu-data, menu-cache, pcmanfm.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 20 05:10:04 2017 +0300 (2017-07-20) |
parents | 6c3718ca17b6 |
children | 2d54d154d5ca |
rev | line source |
---|---|
al@19812 | 1 # SliTaz package receipt v2. |
pankso@12472 | 2 |
pankso@12472 | 3 PACKAGE="libatasmart" |
al@19812 | 4 VERSION="0.19" |
pankso@12472 | 5 CATEGORY="system-tools" |
al@19812 | 6 SHORT_DESC="Disk reporting library" |
pankso@12472 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15472 | 8 LICENSE="LGPL2.1" |
pankso@12472 | 9 WEB_SITE="http://0pointer.de/blog/projects/being-smart.html" |
al@19812 | 10 |
al@19812 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@12472 | 12 WGET_URL="http://0pointer.de/public/$TARBALL" |
pankso@12472 | 13 |
al@19812 | 14 BUILD_DEPENDS="eudev-dev" |
al@19812 | 15 SPLIT="libatasmart-dev" |
pankso@12472 | 16 |
pankso@12472 | 17 # Rules to configure and make the package. |
pankso@12472 | 18 compile_rules() |
pankso@12472 | 19 { |
al@19812 | 20 # http://www.linuxfromscratch.org/blfs/view/stable/general/libatasmart.html |
al@19812 | 21 ./configure \ |
al@19812 | 22 --disable-static \ |
pankso@12472 | 23 $CONFIGURE_ARGS && |
al@19812 | 24 make && |
al@19812 | 25 make docdir=/usr/share/doc/libatasmart-$VERSION install |
pankso@12472 | 26 } |
pankso@12472 | 27 |
pankso@12472 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12472 | 29 genpkg_rules() |
pankso@12472 | 30 { |
al@19812 | 31 case $PACKAGE in |
al@19812 | 32 libatasmart) |
al@19812 | 33 copy @std |
al@19812 | 34 DEPENDS="eudev" |
al@19812 | 35 ;; |
al@19812 | 36 *-dev) |
al@19812 | 37 copy @dev |
al@19812 | 38 DEPENDS="libatasmart eudev-dev" |
al@19812 | 39 ;; |
al@19812 | 40 esac |
pankso@12472 | 41 } |