wok-current view libwrap/receipt @ rev 25351

updated tesseract and tesseract-dev (3.02.02 -> 5.2.0)
author Hans-G?nter Theisgen
date Tue Jul 26 13:57:27 2022 +0100 (2022-07-26)
parents ede1d184d5c5
children 3ad63c8fc2f9
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 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/tcp_wrappers_[0-9]/!d;s|.*tcp_wrappers_||;s|.t.*||;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 }