wok-4.x annotate freeradius/receipt @ rev 9224

freeradius needs -j1 to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 11 18:33:40 2011 +0100 (2011-03-11)
parents 9b0eb993018e
children fbdbdc00789a
rev   line source
sdaigl@48 1 # SliTaz package receipt.
sdaigl@48 2
sdaigl@48 3 PACKAGE="freeradius"
pascal@2230 4 VERSION="2.1.3"
sdaigl@48 5 CATEGORY="security"
sdaigl@48 6 SHORT_DESC="radius server"
sdaigl@48 7 MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca"
pascal@5001 8 DEPENDS="openssl cyrus-sasl libldap libtool python readline libunixODBC \
gokhlayeh@5963 9 libkrb5 libcomerr3 libmysqlclient gdbm"
pascal@2226 10 BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev"
pascal@1302 11 SOURCE="freeradius-server"
pascal@1302 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@138 13 WEB_SITE="http://www.freeradius.org/"
pankso@414 14 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$TARBALL"
sdaigl@48 15
sdaigl@48 16 # Rules to configure and make the package.
sdaigl@48 17 compile_rules()
sdaigl@48 18 {
sdaigl@48 19 cd $src
gokhlayeh@9224 20 ./configure --sysconfdir=/etc \
sdaigl@48 21 --localstatedir=/var \
gokhlayeh@9224 22 --with-system-libtool &&
gokhlayeh@9224 23 make -j1 &&
gokhlayeh@9224 24 make R=$DESTDIR install
sdaigl@48 25 }
sdaigl@48 26
sdaigl@48 27 # Rules to gen a SliTaz package suitable for Tazpkg.
sdaigl@48 28 genpkg_rules()
sdaigl@48 29 {
sdaigl@48 30 mkdir -p $fs/usr/lib $fs/usr/share
sdaigl@48 31
sdaigl@48 32 cp -a $_pkg/usr/bin $fs/usr
sdaigl@48 33 cp -a $_pkg/usr/sbin $fs/usr
sdaigl@48 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
sdaigl@48 35 cp -a $_pkg/usr/share/freeradius $fs/usr/share
sdaigl@48 36 cp -a $_pkg/etc $fs
sdaigl@48 37 cp -a $_pkg/var $fs
pascal@2226 38 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
sdaigl@48 39 }