wok-current annotate dmidecode/receipt @ rev 2050
up: flex (2.5.35)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 17 14:08:21 2009 +0100 (2009-01-17) |
parents | 6a9428a46323 |
children | fd77e4bd62a5 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="dmidecode" |
erjo@621 | 4 VERSION="2.9" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="SMBIOS/DMI reports." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@621 | 8 DEPENDS="" |
erjo@621 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@621 | 10 WEB_SITE="http://www.nongnu.org/dmidecode/" |
erjo@621 | 11 WGET_URL="http://download.savannah.gnu.org/releases/dmidecode/$TARBALL" |
erjo@621 | 12 |
erjo@621 | 13 # Rules to configure and make the package. |
erjo@621 | 14 compile_rules() |
erjo@621 | 15 { |
erjo@621 | 16 cd $src |
erjo@621 | 17 make |
erjo@621 | 18 make DESTDIR=$PWD/_pkg install |
erjo@621 | 19 } |
erjo@621 | 20 |
erjo@621 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 22 genpkg_rules() |
erjo@621 | 23 { |
erjo@621 | 24 mkdir -p $fs/usr/sbin |
erjo@621 | 25 cp -a $_pkg/usr/local/sbin/* $fs/usr/sbin |
erjo@621 | 26 } |
erjo@621 | 27 |