wok-6.x view freeradius/receipt @ rev 15281

qemacs: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 13:36:58 2013 +0000 (2013-09-26)
parents d71ba04aa9f5
children 57fe56973200
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 LICENSE="GPL2 LGPL2"
9 SOURCE="freeradius-server"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.freeradius.org/"
12 WGET_URL="ftp://ftp.freeradius.org/pub/freeradius/$TARBALL"
14 DEPENDS="libssl cyrus-sasl libldap libltdl python readline libunixODBC \
15 libkrb5 libcomerr3 libmysqlclient gdbm"
16 BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev gdbm-dev \
17 libtool"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 export CFLAGS="$CFLAGS -fno-strict-aliasing"
24 ./configure --sysconfdir=/etc \
25 --localstatedir=/var \
26 --with-system-libtool \
27 --with-system-libltdl \
28 $CONFIGURE_ARGS &&
29 make -j1 &&
30 make R=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/share/freeradius $fs/usr/share
42 cp -a $install/etc $fs
43 cp -a $install/var $fs
44 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
45 }