wok-next diff isapnptools/receipt @ rev 20486
outguess: fix install path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:46:52 2018 +0100 (2018-03-12) |
parents | f463de72afe3 |
children | 0ec6086e21d6 |
line diff
1.1 --- a/isapnptools/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/isapnptools/receipt Mon Mar 12 10:46:52 2018 +0100 1.3 @@ -1,9 +1,9 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="isapnptools" 1.8 VERSION="1.27" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="ISA Plug-And-Play configuration." 1.11 +SHORT_DESC="ISA Plug-And-Play configuration" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="http://www.roestock.demon.co.uk/isapnptools/" 1.15 @@ -12,18 +12,18 @@ 1.16 WGET_URL="ftp://metalab.unc.edu/pub/Linux/system/hardware/$TARBALL" 1.17 1.18 BUILD_DEPENDS="gfortran" 1.19 +SPLIT="isapnptools-dev" 1.20 1.21 -# Rules to configure and make the package. 1.22 -compile_rules() 1.23 -{ 1.24 +compile_rules() { 1.25 ./configure \ 1.26 --sbindir=/sbin \ 1.27 $CONFIGURE_ARGS && 1.28 make && make install 1.29 } 1.30 1.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 -genpkg_rules() 1.33 -{ 1.34 - copy sbin/ 1.35 +genpkg_rules() { 1.36 + case $PACKAGE in 1.37 + isapnptools) copy @std;; 1.38 + *-dev) copy @dev;; 1.39 + esac 1.40 }