wok view libwrap/receipt @ rev 14714

lib[a-n]*: add LICENSE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 10:41:23 2013 +0200 (2013-06-11)
parents 7fa7fb8b0f2a
children de49f29b101e
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 }