wok annotate sysfsutils/receipt @ rev 10789
Up: slitaz-tools (4.3) - Use source Makefile to install files and so clean up receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 01 22:36:01 2011 +0200 (2011-06-01) |
parents | 02bbaa9d12ba |
children | eb8067417980 |
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" |
pankso@31 | 8 DEPENDS="linux" |
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 |
pankso@31 | 13 # Rules to configure and make the package. |
pankso@31 | 14 compile_rules() |
pankso@31 | 15 { |
pankso@31 | 16 cd $src |
pankso@31 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@31 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@31 | 19 make |
pankso@31 | 20 make DESTDIR=$PWD/_pkg install |
pankso@31 | 21 } |
pankso@31 | 22 |
pankso@31 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@31 | 24 genpkg_rules() |
pankso@31 | 25 { |
pankso@31 | 26 mkdir -p $fs/usr/lib |
pankso@31 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@31 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@31 | 29 } |
pankso@31 | 30 |