wok view libwrap/receipt @ rev 18058

Add py3k3: Python 3.3.x - py3k is 3.2.x
author Nathan Neulinger <nneul@neulinger.org>
date Sat May 16 14:55:13 2015 +0000 (2015-05-16)
parents de49f29b101e
children ede1d184d5c5
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"
13 HOST_ARCH="i486 arm"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Patch from Linux From Scratch
20 [ -f done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch ] ||
21 patch -p1 -i $stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
22 touch done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
23 sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
25 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $src/shared/*.so* $fs/usr/lib
33 }
35 clean_wok()
36 {
37 rm -rf $PWD/${SOURCE}_${VERSION}
38 }