wok annotate isapnptools/receipt @ rev 8200

imported patch toolchain/mpc-library.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
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 }