wok view freeradius/receipt @ rev 15945

libpng: add to ARM port
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 23 02:23:54 2014 +0100 (2014-02-23)
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 }