wok-6.x view isapnptools/receipt @ rev 22119
updated watchdog (5.9 -> 5.15)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Nov 03 10:49:54 2019 +0100 (2019-11-03) |
parents | 8b8fae260ab7 |
children | 3e2a0347b2f1 |
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 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="https://web.archive.org/web/20140210040320/http://www.roestock.demon.co.uk/isapnptools/"
11 WGET_URL="ftp://metalab.unc.edu/pub/Linux/system/hardware/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 sed -i 's/pnpdump_main.$(OBJEXT)/isapnp_main.$(OBJEXT) &/' src/Makefile.*
17 sed -i 's/return/if (!strcmp(basename(argv[0]),"isapnp")) return (isapnp_main(argc, argv));\n&/' src/pnpdump.c
18 ./configure --prefix=/usr --bindir=/bin \
19 --libexecdir=/usr/bin --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 # move /usr/sbin/* /sbin to use pnptools *before* mounting /usr
29 mkdir -p $fs/sbin
30 cp -a $install/usr/sbin/pnpdump $fs/sbin
31 ln $fs/sbin/pnpdump $fs/sbin/isapnp
32 }