wok-current annotate freeradius/receipt @ rev 17910

Up to latest: tazinst, tazlito, tazpanel, tazpkg.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 07 04:20:47 2015 +0300 (2015-04-07)
parents d71ba04aa9f5
children 57fe56973200
rev   line source
sdaigl@48 1 # SliTaz package receipt.
sdaigl@48 2
sdaigl@48 3 PACKAGE="freeradius"
pascal@12433 4 VERSION="2.1.12"
sdaigl@48 5 CATEGORY="security"
sdaigl@48 6 SHORT_DESC="radius server"
pascal@13027 7 MAINTAINER="sdaigl@lacitec.on.ca"
pascal@15215 8 LICENSE="GPL2 LGPL2"
pascal@1302 9 SOURCE="freeradius-server"
pascal@1302 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@138 11 WEB_SITE="http://www.freeradius.org/"
pascal@12433 12 WGET_URL="ftp://ftp.freeradius.org/pub/freeradius/$TARBALL"
sdaigl@48 13
slaxemulator@10815 14 DEPENDS="libssl cyrus-sasl libldap libltdl python readline libunixODBC \
erjo@9962 15 libkrb5 libcomerr3 libmysqlclient gdbm"
pascal@12450 16 BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev gdbm-dev \
pascal@12450 17 libtool"
erjo@9962 18
sdaigl@48 19 # Rules to configure and make the package.
sdaigl@48 20 compile_rules()
sdaigl@48 21 {
sdaigl@48 22 cd $src
slaxemulator@9374 23 export CFLAGS="$CFLAGS -fno-strict-aliasing"
slaxemulator@9374 24 ./configure --sysconfdir=/etc \
sdaigl@48 25 --localstatedir=/var \
slaxemulator@9374 26 --with-system-libtool \
slaxemulator@10332 27 --with-system-libltdl \
slaxemulator@10332 28 $CONFIGURE_ARGS &&
gokhlayeh@9224 29 make -j1 &&
gokhlayeh@9224 30 make R=$DESTDIR install
sdaigl@48 31 }
sdaigl@48 32
sdaigl@48 33 # Rules to gen a SliTaz package suitable for Tazpkg.
sdaigl@48 34 genpkg_rules()
sdaigl@48 35 {
sdaigl@48 36 mkdir -p $fs/usr/lib $fs/usr/share
sdaigl@48 37
pascal@15215 38 cp -a $install/usr/bin $fs/usr
pascal@15215 39 cp -a $install/usr/sbin $fs/usr
pascal@15215 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15215 41 cp -a $install/usr/share/freeradius $fs/usr/share
pascal@15215 42 cp -a $install/etc $fs
pascal@15215 43 cp -a $install/var $fs
pascal@2226 44 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
sdaigl@48 45 }