wok-tiny annotate 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 |
rev | line source |
---|---|
pascal@46 | 1 # SliTaz package receipt. |
pascal@46 | 2 |
pascal@46 | 3 PACKAGE="isapnptools" |
pascal@46 | 4 VERSION="1.27" |
pascal@46 | 5 CATEGORY="system-tools" |
pascal@46 | 6 SHORT_DESC="ISA Plug-And-Play configuration." |
pascal@46 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@91 | 8 LICENSE="GPL2" |
pascal@46 | 9 [ -n "$TARGET" ] || TARGET="i486" |
pascal@46 | 10 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET" |
pascal@46 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@46 | 12 WEB_SITE="http://www.roestock.demon.co.uk/isapnptools/" |
pascal@94 | 13 WGET_URL="http://mirror.slitaz.org/sources/packages/i/$TARBALL" |
pascal@46 | 14 |
pascal@46 | 15 # Rules to configure and make the package. |
pascal@46 | 16 compile_rules() |
pascal@46 | 17 { |
pascal@46 | 18 # Fix cross tools prefix... |
pascal@46 | 19 export PATH=$PWD:$PATH |
pascal@46 | 20 PREFIX=$TARGET-uclibc-gnu |
pascal@46 | 21 for i in /usr/bin/uclibc-$TARGET-* ; do |
pascal@46 | 22 ln -s $i ./$PREFIX-${i#/usr/bin/uclibc-$TARGET-} |
pascal@46 | 23 done |
pascal@46 | 24 |
pascal@46 | 25 # Let's go ! |
pascal@46 | 26 ./configure \ |
pascal@46 | 27 --host=$PREFIX \ |
pascal@46 | 28 --prefix=/usr --bindir=/bin \ |
pascal@46 | 29 --libexecdir=/usr/bin --mandir=/usr/share/man |
pascal@46 | 30 make && |
pascal@94 | 31 make DESTDIR=$DESTDIR install |
pascal@46 | 32 } |
pascal@46 | 33 |
pascal@46 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@46 | 35 genpkg_rules() |
pascal@46 | 36 { |
pascal@46 | 37 # move /usr/sbin/* /sbin to use pnptools *before* mounting /usr |
pascal@94 | 38 cp -a $install/usr/sbin $fs |
pascal@46 | 39 } |