wok-current annotate freeradius/receipt @ rev 13152
busybox-static: add uname
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 13 13:58:26 2012 +0200 (2012-07-13) |
parents | 8b18c3942735 |
children | 7bb096863642 |
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@1302 | 8 SOURCE="freeradius-server" |
pascal@1302 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@138 | 10 WEB_SITE="http://www.freeradius.org/" |
pascal@12433 | 11 WGET_URL="ftp://ftp.freeradius.org/pub/freeradius/$TARBALL" |
sdaigl@48 | 12 |
slaxemulator@10815 | 13 DEPENDS="libssl cyrus-sasl libldap libltdl python readline libunixODBC \ |
erjo@9962 | 14 libkrb5 libcomerr3 libmysqlclient gdbm" |
pascal@12450 | 15 BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev gdbm-dev \ |
pascal@12450 | 16 libtool" |
erjo@9962 | 17 |
sdaigl@48 | 18 # Rules to configure and make the package. |
sdaigl@48 | 19 compile_rules() |
sdaigl@48 | 20 { |
sdaigl@48 | 21 cd $src |
slaxemulator@9374 | 22 export CFLAGS="$CFLAGS -fno-strict-aliasing" |
slaxemulator@9374 | 23 ./configure --sysconfdir=/etc \ |
sdaigl@48 | 24 --localstatedir=/var \ |
slaxemulator@9374 | 25 --with-system-libtool \ |
slaxemulator@10332 | 26 --with-system-libltdl \ |
slaxemulator@10332 | 27 $CONFIGURE_ARGS && |
gokhlayeh@9224 | 28 make -j1 && |
gokhlayeh@9224 | 29 make R=$DESTDIR install |
sdaigl@48 | 30 } |
sdaigl@48 | 31 |
sdaigl@48 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
sdaigl@48 | 33 genpkg_rules() |
sdaigl@48 | 34 { |
sdaigl@48 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
sdaigl@48 | 36 |
sdaigl@48 | 37 cp -a $_pkg/usr/bin $fs/usr |
sdaigl@48 | 38 cp -a $_pkg/usr/sbin $fs/usr |
sdaigl@48 | 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
sdaigl@48 | 40 cp -a $_pkg/usr/share/freeradius $fs/usr/share |
sdaigl@48 | 41 cp -a $_pkg/etc $fs |
sdaigl@48 | 42 cp -a $_pkg/var $fs |
pascal@2226 | 43 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam |
sdaigl@48 | 44 } |