wok-tiny view isapnptools/receipt @ rev 94

Refresh, remove kernel*, add linux
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 02 21:45:05 2015 +0200 (2015-10-02)
parents efbd89023863
children f04e6a2d1224
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="http://mirror.slitaz.org/sources/packages/i/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # Fix cross tools prefix...
19 export PATH=$PWD:$PATH
20 PREFIX=$TARGET-uclibc-gnu
21 for i in /usr/bin/uclibc-$TARGET-* ; do
22 ln -s $i ./$PREFIX-${i#/usr/bin/uclibc-$TARGET-}
23 done
25 # Let's go !
26 ./configure \
27 --host=$PREFIX \
28 --prefix=/usr --bindir=/bin \
29 --libexecdir=/usr/bin --mandir=/usr/share/man
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 # move /usr/sbin/* /sbin to use pnptools *before* mounting /usr
38 cp -a $install/usr/sbin $fs
39 }