wok-4.x view libwrap/receipt @ rev 11283

Up: bleachbit to 0.9.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 10 14:53:58 2011 +0000 (2011-11-10)
parents 7fa7fb8b0f2a
children
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@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 cd $src
17 # Patch from Linux From Scratch
18 [ -f done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch ] ||
19 patch -p1 -i $stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
20 touch done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
21 sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
23 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
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 }