wok-6.x view dmidecode/receipt @ rev 8615

Fix: replace exit 1 by return 1 in receipts (exit broke cook-list function)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 19:09:46 2011 +0100 (2011-02-14)
parents fd77e4bd62a5
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="dmidecode"
4 VERSION="2.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="SMBIOS/DMI reports."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.nongnu.org/dmidecode/"
11 WGET_URL="http://download.savannah.gnu.org/releases/dmidecode/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make
18 make DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/sbin
25 cp -a $_pkg/usr/local/sbin/* $fs/usr/sbin
26 }