wok annotate libwrap/receipt @ rev 370
Slitaz-loram*: more flexible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 08 11:30:12 2008 +0000 (2008-03-08) |
parents | |
children | a075ff895254 |
rev | line source |
---|---|
erjo@286 | 1 # SliTaz package receipt. |
erjo@286 | 2 |
erjo@286 | 3 PACKAGE="libwrap" |
erjo@286 | 4 VERSION="7.6" |
erjo@286 | 5 CATEGORY="system-tools" |
erjo@286 | 6 SHORT_DESC="Wietse Venema's network logger." |
erjo@286 | 7 MAINTAINER="Erjo <erjo@slitaz.org>" |
erjo@286 | 8 SOURCE="tcp_wrappers" |
erjo@286 | 9 TARBALL="${SOURCE}_${VERSION}.tar.gz" |
erjo@286 | 10 WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html" |
erjo@286 | 11 WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL" |
erjo@286 | 12 |
erjo@286 | 13 # Rules to configure and make the package. |
erjo@286 | 14 compile_rules() |
erjo@286 | 15 { |
erjo@286 | 16 src=$PWD/${SOURCE}_${VERSION} |
erjo@286 | 17 cd $src |
erjo@286 | 18 # Patch from Linux From Scratch |
erjo@286 | 19 patch -p1 -i ../stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch |
erjo@286 | 20 sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c |
erjo@286 | 21 |
erjo@286 | 22 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux |
erjo@286 | 23 } |
erjo@286 | 24 |
erjo@286 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@286 | 26 genpkg_rules() |
erjo@286 | 27 { |
erjo@286 | 28 src=$PWD/${SOURCE}_${VERSION} |
erjo@286 | 29 mkdir -p $fs/usr/lib |
erjo@286 | 30 cp -a $src/shared/*.so* $fs/usr/lib |
erjo@286 | 31 } |
erjo@286 | 32 |
erjo@286 | 33 clean_wok() |
erjo@286 | 34 { |
erjo@286 | 35 rm -rf $PWD/${SOURCE}_${VERSION} |
erjo@286 | 36 } |