wok annotate libwrap/receipt @ rev 20086

clamav: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 28 13:29:46 2017 +0200 (2017-09-28)
parents de49f29b101e
children ede1d184d5c5
rev   line source
erjo@286 1 # SliTaz package receipt.
erjo@286 2
erjo@286 3 PACKAGE="libwrap"
erjo@286 4 VERSION="7.6"
erjo@286 5 CATEGORY="system-tools"
erjo@286 6 SHORT_DESC="Wietse Venema's network logger."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15600 8 LICENSE="BSD"
erjo@286 9 SOURCE="tcp_wrappers"
erjo@286 10 TARBALL="${SOURCE}_${VERSION}.tar.gz"
erjo@286 11 WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html"
erjo@286 12 WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL"
pankso@16034 13 HOST_ARCH="i486 arm"
erjo@286 14
erjo@286 15 # Rules to configure and make the package.
erjo@286 16 compile_rules()
erjo@286 17 {
erjo@286 18 cd $src
erjo@286 19 # Patch from Linux From Scratch
pascal@1448 20 [ -f done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch ] ||
slaxemulator@9700 21 patch -p1 -i $stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
pascal@1448 22 touch done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
erjo@286 23 sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
erjo@286 24
erjo@286 25 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
erjo@286 26 }
erjo@286 27
erjo@286 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@286 29 genpkg_rules()
erjo@286 30 {
erjo@286 31 mkdir -p $fs/usr/lib
erjo@286 32 cp -a $src/shared/*.so* $fs/usr/lib
erjo@286 33 }
erjo@286 34
erjo@286 35 clean_wok()
erjo@286 36 {
erjo@286 37 rm -rf $PWD/${SOURCE}_${VERSION}
erjo@286 38 }