wok-6.x annotate isapnptools/receipt @ rev 979

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