wok-current view freeradius/receipt @ rev 11037

slock: Clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 16 07:26:33 2011 +0000 (2011-10-16)
parents b3ca9ff92e37
children 2ab805d95b3e
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 libltdl 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 }