wok view libwrap/receipt @ rev 9070
wqy-microhei, wqy-bitmapfont: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 15:09:58 2011 +0100 (2011-03-04) |
parents | eda192ad5630 |
children | d1768332cee0 |
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 cd $src
17 # Patch from Linux From Scratch
18 [ -f done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch ] ||
19 patch -p1 -i ../stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
20 touch done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
21 sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
23 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $src/shared/*.so* $fs/usr/lib
31 }
33 clean_wok()
34 {
35 rm -rf $PWD/${SOURCE}_${VERSION}
36 }