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