wok-4.x annotate hardinfo/receipt @ rev 2099
Add: aspell-en
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Jan 28 20:01:26 2009 +0000 (2009-01-28) |
parents | 3d99ecce2d4b |
children | be4b9618ea05 |
rev | line source |
---|---|
pankso@518 | 1 # SliTaz package receipt. |
pankso@518 | 2 |
pankso@518 | 3 PACKAGE="hardinfo" |
pankso@518 | 4 VERSION="0.4.2.3" |
pankso@518 | 5 CATEGORY="system-tools" |
pankso@518 | 6 SHORT_DESC="A tool to get hardware informations and perform benchmarks." |
pankso@518 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@518 | 8 DEPENDS="gtk+ pciutils" |
pascal@1511 | 9 BUILD_DEPENDS="gtk+ gtk+-dev" |
pankso@518 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@518 | 11 WEB_SITE="http://hardinfo.berlios.de/" |
pankso@518 | 12 WGET_URL="http://download.berlios.de/hardinfo/$TARBALL" |
pankso@518 | 13 |
pankso@518 | 14 # Rules to configure and make the package. |
pankso@518 | 15 compile_rules() |
pankso@518 | 16 { |
pankso@518 | 17 cd $src |
pascal@726 | 18 while read file; do |
pascal@1442 | 19 [ -f done.$file ] && continue |
pascal@726 | 20 patch -p0 < ../stuff/$file || exit 1 |
pascal@1442 | 21 touch done.$file |
pascal@726 | 22 done <<EOT |
pascal@726 | 23 modules.patch |
pascal@726 | 24 users.patch |
pascal@726 | 25 languages.patch |
pascal@726 | 26 boots.patch |
pascal@726 | 27 os.patch |
pascal@1773 | 28 usb.patch |
pascal@726 | 29 EOT |
pankso@518 | 30 ./configure \ |
pankso@518 | 31 --prefix=/usr \ |
pascal@1442 | 32 $CONFIGURE_ARGS && |
pascal@1442 | 33 make && |
pankso@518 | 34 make DESTDIR=$PWD/_pkg install |
pankso@518 | 35 } |
pankso@518 | 36 |
pankso@518 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@518 | 38 genpkg_rules() |
pankso@518 | 39 { |
pankso@760 | 40 mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps |
pankso@518 | 41 cp -a $_pkg/usr/bin $fs/usr |
pankso@518 | 42 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules |
pankso@518 | 43 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@760 | 44 cd $fs/usr/share/pixmaps |
pankso@760 | 45 rm ../$PACKAGE/pixmaps/logo.svg |
pankso@760 | 46 ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png |
pankso@518 | 47 } |
pankso@518 | 48 |