wok annotate isapnptools/receipt @ rev 23492
python-bcrypt: added build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 06:26:59 2020 +0100 (2020-04-06) |
parents | 8b8fae260ab7 |
children | 3e2a0347b2f1 |
rev | line source |
---|---|
pankso@126 | 1 # SliTaz package receipt. |
pankso@126 | 2 |
pankso@126 | 3 PACKAGE="isapnptools" |
pankso@126 | 4 VERSION="1.27" |
pankso@211 | 5 CATEGORY="system-tools" |
pankso@126 | 6 SHORT_DESC="ISA Plug-And-Play configuration." |
pankso@126 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14852 | 8 LICENSE="GPL2" |
pankso@126 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@20672 | 10 WEB_SITE="https://web.archive.org/web/20140210040320/http://www.roestock.demon.co.uk/isapnptools/" |
pankso@126 | 11 WGET_URL="ftp://metalab.unc.edu/pub/Linux/system/hardware/$TARBALL" |
pankso@126 | 12 |
pankso@126 | 13 # Rules to configure and make the package. |
pankso@126 | 14 compile_rules() |
pankso@126 | 15 { |
pascal@19677 | 16 sed -i 's/pnpdump_main.$(OBJEXT)/isapnp_main.$(OBJEXT) &/' src/Makefile.* |
pascal@19677 | 17 sed -i 's/return/if (!strcmp(basename(argv[0]),"isapnp")) return (isapnp_main(argc, argv));\n&/' src/pnpdump.c |
pankso@126 | 18 ./configure --prefix=/usr --bindir=/bin \ |
pascal@19677 | 19 --libexecdir=/usr/bin --mandir=/usr/share/man \ |
pascal@19677 | 20 $CONFIGURE_ARGS && |
pascal@19677 | 21 make && |
pascal@14852 | 22 make DESTDIR=$DESTDIR install |
pankso@126 | 23 } |
pankso@126 | 24 |
pankso@126 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@126 | 26 genpkg_rules() |
pankso@126 | 27 { |
pankso@126 | 28 # move /usr/sbin/* /sbin to use pnptools *before* mounting /usr |
pascal@19677 | 29 mkdir -p $fs/sbin |
pascal@19677 | 30 cp -a $install/usr/sbin/pnpdump $fs/sbin |
pascal@19677 | 31 ln $fs/sbin/pnpdump $fs/sbin/isapnp |
pankso@126 | 32 } |