wok-next annotate libatasmart/receipt @ rev 20406
Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 08 02:55:48 2017 +0200 (2017-12-08) |
parents | 4688f12eea68 |
children | 0ec6086e21d6 |
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@20406 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libatasmart.html" |
al@19812 | 11 |
al@19812 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@12472 | 13 WGET_URL="http://0pointer.de/public/$TARBALL" |
pankso@12472 | 14 |
al@19812 | 15 BUILD_DEPENDS="eudev-dev" |
al@19812 | 16 SPLIT="libatasmart-dev" |
pankso@12472 | 17 |
al@20406 | 18 compile_rules() { |
al@19812 | 19 ./configure \ |
al@19812 | 20 --disable-static \ |
pankso@12472 | 21 $CONFIGURE_ARGS && |
al@19812 | 22 make && |
al@20406 | 23 make docdir=/usr/share/doc/$PACKAGE-$VERSION install |
pankso@12472 | 24 } |
pankso@12472 | 25 |
al@20406 | 26 genpkg_rules() { |
al@19812 | 27 case $PACKAGE in |
al@19812 | 28 libatasmart) |
al@19812 | 29 copy @std |
al@19812 | 30 DEPENDS="eudev" |
al@19812 | 31 ;; |
al@19812 | 32 *-dev) |
al@19812 | 33 copy @dev |
al@19812 | 34 DEPENDS="libatasmart eudev-dev" |
al@19812 | 35 ;; |
al@19812 | 36 esac |
pankso@12472 | 37 } |