wok-current annotate sysfsutils/receipt @ rev 15867

Add stuntman
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 31 15:38:12 2014 +0000 (2014-01-31)
parents eb8067417980
children d957f3570bd6
rev   line source
pankso@31 1 # SliTaz package receipt.
pankso@31 2
pankso@31 3 PACKAGE="sysfsutils"
pankso@31 4 VERSION="2.1.0"
pankso@202 5 CATEGORY="system-tools"
pankso@31 6 SHORT_DESC="Utilites built upon sysfs."
pankso@31 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="GPL2 LGPL2.1"
pankso@31 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@31 10 WEB_SITE="http://linux-diag.sourceforge.net/Sysfsutils.html"
pankso@31 11 WGET_URL="$SF_MIRROR/linux-diag/$TARBALL"
pankso@31 12
pascal@15616 13 DEPENDS="linux"
pascal@15616 14 BLUID_DEPENDS="sysfsutils"
pascal@15616 15
pankso@31 16 # Rules to configure and make the package.
pankso@31 17 compile_rules()
pankso@31 18 {
pankso@31 19 cd $src
pankso@31 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@31 21 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@31 22 make
pascal@15579 23 make DESTDIR=$DESTDIR install
pankso@31 24 }
pankso@31 25
pankso@31 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@31 27 genpkg_rules()
pankso@31 28 {
pankso@31 29 mkdir -p $fs/usr/lib
pascal@15579 30 cp -a $install/usr/bin $fs/usr
pascal@15579 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@31 32 }