wok annotate knock/receipt @ rev 7869
Up: wordpress to 3.0.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 02 19:38:10 2011 +0000 (2011-01-02) |
parents | 64bb96cfe591 |
children | d1768332cee0 |
rev | line source |
---|---|
pascal@1435 | 1 # SliTaz package receipt. |
pascal@1435 | 2 |
pascal@1435 | 3 PACKAGE="knock" |
pascal@1435 | 4 VERSION="0.5" |
pascal@1435 | 5 CATEGORY="security" |
pascal@1435 | 6 SHORT_DESC="Port knock sequence listener." |
pascal@1435 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1435 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1598 | 9 DEPENDS="iptables" |
pascal@1461 | 10 BUILD_DEPENDS="libpcap" |
pascal@1435 | 11 WEB_SITE="http://www.zeroflux.org/$PACKAGE" |
pascal@1435 | 12 WGET_URL="http://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL" |
pascal@1586 | 13 CONFIG_FILES="/etc/knockd.conf" |
pascal@1435 | 14 |
pascal@1435 | 15 # Rules to configure and make the package. |
pascal@1435 | 16 compile_rules() |
pascal@1435 | 17 { |
pascal@1435 | 18 cd $src |
pascal@1461 | 19 [ -f done.knock.u ] || patch -p1 < ../stuff/knock.u |
pascal@1461 | 20 touch done.knock.u |
pascal@1435 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1435 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1435 | 23 make && |
pascal@1435 | 24 make DESTDIR=$PWD/_pkg install |
pascal@1435 | 25 } |
pascal@1435 | 26 |
pascal@1435 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1435 | 28 genpkg_rules() |
pascal@1435 | 29 { |
pascal@1435 | 30 mkdir -p $fs/usr |
pascal@1435 | 31 cp -a $_pkg/etc $fs |
pascal@1435 | 32 cp -a $_pkg/usr/sbin $fs/usr |
pascal@1435 | 33 cp -a $_pkg/usr/bin $fs/usr |
pascal@1435 | 34 cp -a stuff/etc $fs |
pascal@1435 | 35 } |
pascal@1435 | 36 |