wok view libwrap/receipt @ rev 15709

Up:Postfix (2.10.2) + Add SSL support
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Dec 22 22:07:24 2013 +0100 (2013-12-22)
parents d1768332cee0
children 4abbe39ea1e2
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 LICENSE="BSD"
9 SOURCE="tcp_wrappers"
10 TARBALL="${SOURCE}_${VERSION}.tar.gz"
11 WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html"
12 WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # Patch from Linux From Scratch
19 [ -f done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch ] ||
20 patch -p1 -i $stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
21 touch done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
22 sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
24 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $src/shared/*.so* $fs/usr/lib
32 }
34 clean_wok()
35 {
36 rm -rf $PWD/${SOURCE}_${VERSION}
37 }