wok-next view libwrap/receipt @ rev 6928
Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 22:36:22 2010 +0000 (2010-10-22) |
parents | a075ff895254 |
children | 7fa7fb8b0f2a |
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 SOURCE="tcp_wrappers"
9 TARBALL="${SOURCE}_${VERSION}.tar.gz"
10 WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html"
11 WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 src=$PWD/${SOURCE}_${VERSION}
17 cd $src
18 # Patch from Linux From Scratch
19 [ -f done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch ] ||
20 patch -p1 -i ../stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
21 touch done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
22 sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
24 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 src=$PWD/${SOURCE}_${VERSION}
31 mkdir -p $fs/usr/lib
32 cp -a $src/shared/*.so* $fs/usr/lib
33 }
35 clean_wok()
36 {
37 rm -rf $PWD/${SOURCE}_${VERSION}
38 }