wok view freeradius/receipt @ rev 13657

pcsc-lite: up to 1.8.6, fix drivers path and add daemon init script
author Christophe Lincoln <pankso@slitaz.org>
date Wed Nov 21 20:44:31 2012 +0000 (2012-11-21)
parents 8b18c3942735
children 7bb096863642
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="2.1.12"
5 CATEGORY="security"
6 SHORT_DESC="radius server"
7 MAINTAINER="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/freeradius/$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 \
16 libtool"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 export CFLAGS="$CFLAGS -fno-strict-aliasing"
23 ./configure --sysconfdir=/etc \
24 --localstatedir=/var \
25 --with-system-libtool \
26 --with-system-libltdl \
27 $CONFIGURE_ARGS &&
28 make -j1 &&
29 make R=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/sbin $fs/usr
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 cp -a $_pkg/usr/share/freeradius $fs/usr/share
41 cp -a $_pkg/etc $fs
42 cp -a $_pkg/var $fs
43 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
44 }