wok-6.x view freeradius/receipt @ rev 12585
lensfun: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 28 21:29:32 2012 +0200 (2012-04-28) |
parents | 2ab805d95b3e |
children | d71ba04aa9f5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="2.1.12"
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/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 }