wok-current diff knock/receipt @ rev 17919
Up tazinst-gui (51)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 10 12:55:24 2015 +0200 (2015-04-10) |
parents | 23c3aed67cd9 |
children | 6cb94d9c1f79 |
line diff
1.1 --- a/knock/receipt Thu Dec 05 20:23:08 2013 +0000 1.2 +++ b/knock/receipt Fri Apr 10 12:55:24 2015 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="knock" 1.7 -VERSION="0.5" 1.8 +VERSION="0.7" 1.9 CATEGORY="security" 1.10 SHORT_DESC="Port knock sequence listener." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -17,11 +17,13 @@ 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - cd $src 1.17 [ -f done.knock.u ] || patch -p1 < $stuff/knock.u 1.18 touch done.knock.u 1.19 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.20 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.21 + ./configure --prefix=/usr \ 1.22 + --infodir=/usr/share/info \ 1.23 + --sysconfdir=/etc \ 1.24 + --mandir=/usr/share/man \ 1.25 + $CONFIGURE_ARGS && 1.26 make && 1.27 make DESTDIR=$DESTDIR install 1.28 } 1.29 @@ -29,10 +31,9 @@ 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 genpkg_rules() 1.32 { 1.33 - mkdir -p $fs/usr 1.34 - cp -a $install/etc $fs 1.35 + cp -a $stuff/etc $fs 1.36 + cp -a $stuff/usr $fs 1.37 cp -a $install/usr/sbin $fs/usr 1.38 cp -a $install/usr/bin $fs/usr 1.39 - cp -a stuff/etc $fs 1.40 + cp -a $install/etc $fs 1.41 } 1.42 -