wok-6.x view isapnptools/receipt @ rev 9320

superswitcher: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 09:52:56 2011 +0100 (2011-03-18)
parents cef0dff31baa
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="isapnptools"
4 VERSION="1.27"
5 CATEGORY="system-tools"
6 SHORT_DESC="ISA Plug-And-Play configuration."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://www.roestock.demon.co.uk/isapnptools/"
10 WGET_URL="ftp://metalab.unc.edu/pub/Linux/system/hardware/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --bindir=/bin \
17 --libexecdir=/usr/bin --mandir=/usr/share/man \
18 $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 # move /usr/sbin/* /sbin to use pnptools *before* mounting /usr
27 cp -a $_pkg/usr/sbin $fs
28 strip -s $fs/sbin/*
29 }