# SliTaz package receipt. PACKED_SIZE="40.0K" UNPACKED_SIZE="104.0K" PACKAGE="isapnptools" VERSION="1.27" CATEGORY="system-tools" SHORT_DESC="ISA Plug-And-Play configuration." MAINTAINER="pascal.bellard@slitaz.org" [ -n "$TARGET" ] || TARGET="i486" BUILD_DEPENDS="uclibc-cross-compiler-$TARGET" TARBALL="$PACKAGE-$VERSION.tgz" WEB_SITE="http://www.roestock.demon.co.uk/isapnptools/" WGET_URL="ftp://metalab.unc.edu/pub/Linux/system/hardware/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src # Fix cross tools prefix... export PATH=$PWD:$PATH PREFIX=$TARGET-uclibc-gnu for i in /usr/bin/uclibc-$TARGET-* ; do ln -s $i ./$PREFIX-${i#/usr/bin/uclibc-$TARGET-} done # Let's go ! ./configure \ --host=$PREFIX \ --prefix=/usr --bindir=/bin \ --libexecdir=/usr/bin --mandir=/usr/share/man make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { # move /usr/sbin/* /sbin to use pnptools *before* mounting /usr cp -a $_pkg/usr/sbin $fs }