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

Split lzma in lzma + lzlib
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 12 11:51:08 2008 +0000 (2008-06-12)
parents 83a60b321c15
children eda192ad5630
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 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 }