wok view libwrap/receipt @ rev 24554

updated flac and flac-dev again (1.3.3 -> 1.3.4)
author Hans-G?nter Theisgen
date Fri Feb 25 11:25:23 2022 +0100 (2022-02-25)
parents 4abbe39ea1e2
children bc2b9d9bed6f
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="ftp://ftp.porcupine.org/pub/security/index.html"
12 WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL"
13 HOST_ARCH="i486 arm"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
19 sed "/latest/d;/${SOURCE}_[0-9]/!d;/tar/!d;/ipv6/d;s|.*${SOURCE}_\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 # Patch from Linux From Scratch
27 [ -f done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch ] ||
28 patch -p1 -i $stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
29 touch done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
30 sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
32 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $src/shared/*.so* $fs/usr/lib
40 }
42 clean_wok()
43 {
44 rm -rf $PWD/${SOURCE}_${VERSION}
45 }