wok-current diff libwrap/receipt @ rev 343
8 desktop files for console programs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 05 18:09:26 2008 +0100 (2008-03-05) |
parents | |
children | a075ff895254 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libwrap/receipt Wed Mar 05 18:09:26 2008 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libwrap" 1.7 +VERSION="7.6" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Wietse Venema's network logger." 1.10 +MAINTAINER="Erjo <erjo@slitaz.org>" 1.11 +SOURCE="tcp_wrappers" 1.12 +TARBALL="${SOURCE}_${VERSION}.tar.gz" 1.13 +WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html" 1.14 +WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + src=$PWD/${SOURCE}_${VERSION} 1.20 + cd $src 1.21 + # Patch from Linux From Scratch 1.22 + patch -p1 -i ../stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch 1.23 + sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c 1.24 + 1.25 + make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + src=$PWD/${SOURCE}_${VERSION} 1.32 + mkdir -p $fs/usr/lib 1.33 + cp -a $src/shared/*.so* $fs/usr/lib 1.34 +} 1.35 + 1.36 +clean_wok() 1.37 +{ 1.38 + rm -rf $PWD/${SOURCE}_${VERSION} 1.39 +}