wok-6.x view freeradius/receipt @ rev 10351
glibc: Check for gawk in compile_rules. Not cook_tmp_toolchain since thats for tazwok.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 16:34:20 2011 +0000 (2011-05-22) |
parents | d318593b0fb6 |
children | a19150fb20ef |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="2.1.10"
5 CATEGORY="security"
6 SHORT_DESC="radius server"
7 MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca"
8 SOURCE="freeradius-server"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.freeradius.org/"
11 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$TARBALL"
13 DEPENDS="libssl cyrus-sasl libldap libltld python readline libunixODBC \
14 libkrb5 libcomerr3 libmysqlclient gdbm"
15 BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev gdbm-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 export CFLAGS="$CFLAGS -fno-strict-aliasing"
22 ./configure --sysconfdir=/etc \
23 --localstatedir=/var \
24 --with-system-libtool \
25 --with-system-libltdl \
26 $CONFIGURE_ARGS &&
27 make -j1 &&
28 make R=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/share/freeradius $fs/usr/share
40 cp -a $_pkg/etc $fs
41 cp -a $_pkg/var $fs
42 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
43 }