wok-current annotate dmidecode/receipt @ rev 19301
astromenace: update bdeps; genpkg_rules is launch without any bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 09 18:39:35 2016 +0200 (2016-07-09) |
parents | 17c99f4fcb59 |
children | 3705d68ed8f3 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="dmidecode" |
slaxemulator@8052 | 4 VERSION="2.11" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="SMBIOS/DMI reports." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
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 |
pascal@15579 | 13 DEPENDS="" |
pascal@15579 | 14 |
erjo@621 | 15 # Rules to configure and make the package. |
erjo@621 | 16 compile_rules() |
erjo@621 | 17 { |
erjo@621 | 18 cd $src |
erjo@621 | 19 make |
pascal@15579 | 20 make DESTDIR=$DESTDIR install |
erjo@621 | 21 } |
erjo@621 | 22 |
erjo@621 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 24 genpkg_rules() |
erjo@621 | 25 { |
erjo@621 | 26 mkdir -p $fs/usr/sbin |
pascal@15579 | 27 cp -a $install/usr/local/sbin/* $fs/usr/sbin |
erjo@621 | 28 } |
erjo@621 | 29 |