wok-tiny view isapnptools/receipt @ rev 91

Add missing LICENSE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 18 10:39:23 2013 +0000 (2013-07-18)
parents 73b9bb01cd15
children 371673f39e46
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 LICENSE="GPL2"
9 [ -n "$TARGET" ] || TARGET="i486"
10 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WEB_SITE="http://www.roestock.demon.co.uk/isapnptools/"
13 WGET_URL="ftp://metalab.unc.edu/pub/Linux/system/hardware/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 # Fix cross tools prefix...
21 export PATH=$PWD:$PATH
22 PREFIX=$TARGET-uclibc-gnu
23 for i in /usr/bin/uclibc-$TARGET-* ; do
24 ln -s $i ./$PREFIX-${i#/usr/bin/uclibc-$TARGET-}
25 done
27 # Let's go !
28 ./configure \
29 --host=$PREFIX \
30 --prefix=/usr --bindir=/bin \
31 --libexecdir=/usr/bin --mandir=/usr/share/man
32 make &&
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 # move /usr/sbin/* /sbin to use pnptools *before* mounting /usr
40 cp -a $_pkg/usr/sbin $fs
41 }