wok-tiny annotate 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 |
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@46 | 13 WGET_URL="ftp://metalab.unc.edu/pub/Linux/system/hardware/$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 cd $src |
pascal@46 | 19 |
pascal@46 | 20 # Fix cross tools prefix... |
pascal@46 | 21 export PATH=$PWD:$PATH |
pascal@46 | 22 PREFIX=$TARGET-uclibc-gnu |
pascal@46 | 23 for i in /usr/bin/uclibc-$TARGET-* ; do |
pascal@46 | 24 ln -s $i ./$PREFIX-${i#/usr/bin/uclibc-$TARGET-} |
pascal@46 | 25 done |
pascal@46 | 26 |
pascal@46 | 27 # Let's go ! |
pascal@46 | 28 ./configure \ |
pascal@46 | 29 --host=$PREFIX \ |
pascal@46 | 30 --prefix=/usr --bindir=/bin \ |
pascal@46 | 31 --libexecdir=/usr/bin --mandir=/usr/share/man |
pascal@46 | 32 make && |
pascal@46 | 33 make DESTDIR=$PWD/_pkg install |
pascal@46 | 34 } |
pascal@46 | 35 |
pascal@46 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@46 | 37 genpkg_rules() |
pascal@46 | 38 { |
pascal@46 | 39 # move /usr/sbin/* /sbin to use pnptools *before* mounting /usr |
pascal@46 | 40 cp -a $_pkg/usr/sbin $fs |
pascal@46 | 41 } |