wok annotate sysfsutils/receipt @ rev 570
Fix: links (--without-bzip2) and glibc-locale deps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 14 15:10:40 2008 +0200 (2008-04-14) |
parents | 3f18ea6cb6ad |
children | 02bbaa9d12ba |
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 strip -s $fs/usr/bin/* |
pankso@31 | 30 strip --strip-unneeded $fs/usr/lib/* |
pankso@31 | 31 } |
pankso@31 | 32 |