wok-current view libwrap/receipt @ rev 25721

Update slitaz-i18n for gnumeric
author Stanislas Leduc <shann@slitaz.org>
date Tue Jun 18 11:25:19 2024 +0000 (4 months ago)
parents bc2b9d9bed6f
children
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="http://ftp.porcupine.org/pub/security/index.html"
12 WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="libnsl"
16 BUILD_DEPENDS="libnsl-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/tcp_wrappers_[0-9]/!d;s|.*tcp_wrappers_||;s|.t.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 # Patch from Linux From Scratch
30 [ -f done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch ] ||
31 patch -p1 -i $stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
32 touch done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
33 sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
35 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $src/shared/*.so* $fs/usr/lib
43 }
45 clean_wok()
46 {
47 rm -rf $PWD/${SOURCE}_${VERSION}
48 }