wok-6.x annotate iptables/receipt @ rev 13688
Add mdocml (very light man formatter), mdocml-extra, mdocml-cgi, mdocml-man, mdocml-dev. Now we can use 'mandoc /usr/share/man/man1/xterm.1 | less' to see well formatted manpage, but we still need 'man' wrapper to mandoc to search and page man pages. Cgi and other packages yet not tested at all.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Dec 09 17:07:54 2012 +0000 (2012-12-09) |
parents | afb2a12cfae8 |
children | 380ffe05937a |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="iptables" |
pankso@13505 | 4 VERSION="1.4.16.2" |
pankso@209 | 5 CATEGORY="security" |
pankso@6 | 6 SHORT_DESC="Packet filtering framework (Firewall)." |
pankso@6 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2158 | 8 DEPENDS="linux-netfilter" |
slaxemulator@6873 | 9 BUILD_DEPENDS="linux-module-headers" |
pankso@6 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@6 | 11 WEB_SITE="http://www.netfilter.org/" |
pankso@6 | 12 WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL" |
jozee@4938 | 13 TAGS="firewall" |
pankso@6 | 14 |
pankso@6 | 15 # Rules to configure and make the package. |
pankso@6 | 16 compile_rules() |
pankso@6 | 17 { |
pankso@6 | 18 cd $src |
pascal@2141 | 19 # Set the right Kernel path to compile. |
slaxemulator@6873 | 20 KERNEL_PATH="/usr/src/linux" |
pankso@932 | 21 ./configure \ |
pankso@932 | 22 --prefix=/usr \ |
pankso@932 | 23 --libexecdir=/usr/lib/iptables \ |
pankso@932 | 24 --mandir=/usr/share/man \ |
pascal@2141 | 25 $CONFIGURE_ARGS && |
pankso@10672 | 26 make && make DESTDIR=$DESTDIR install |
pankso@6 | 27 } |
pankso@6 | 28 |
pankso@6 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 30 genpkg_rules() |
pankso@6 | 31 { |
pascal@12859 | 32 EXTRAVERSION=_${kvers%.*} |
pankso@932 | 33 mkdir -p $fs/usr |
pankso@13201 | 34 cp -a $install/usr/sbin $fs/sbin |
pankso@13201 | 35 cp -a $install/usr/lib $fs/usr |
pankso@6 | 36 } |