wok-next annotate libatasmart/receipt @ rev 20846

mingw32-gcc: fix CFLAGS, CXXFLAGS as it is not recent GCC and it don't understand something
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 13:59:48 2018 +0300 (2018-06-23)
parents 2d54d154d5ca
children f48456621a9d
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@20575 22 fix libtool &&
al@19812 23 make &&
al@20406 24 make docdir=/usr/share/doc/$PACKAGE-$VERSION install
pankso@12472 25 }
pankso@12472 26
al@20406 27 genpkg_rules() {
al@19812 28 case $PACKAGE in
al@19812 29 libatasmart)
al@19812 30 copy @std
al@19812 31 DEPENDS="eudev"
al@19812 32 ;;
al@19812 33 *-dev)
al@19812 34 copy @dev
al@19812 35 DEPENDS="libatasmart eudev-dev"
al@19812 36 ;;
al@19812 37 esac
pankso@12472 38 }