wok-next view freeradius/receipt @ rev 9012

python-gazpacho: Replace _pkg with DESTDIR. This fixes it.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 12:49:02 2011 +0000 (2011-03-03)
parents 939450fd68aa
children 3d0f1a3ab4c1
line source
1 # SliTaz package receipt.
3 PACKAGE="freeradius"
4 VERSION="2.1.3"
5 CATEGORY="security"
6 SHORT_DESC="radius server"
7 MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca"
8 DEPENDS="openssl cyrus-sasl libldap libtool python readline libunixODBC \
9 libkrb5 libcomerr3 libmysqlclient gdbm"
10 BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev"
11 SOURCE="freeradius-server"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://www.freeradius.org/"
14 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --with-system-libtool \
26 $CONFIGURE_ARGS &&
27 make &&
28 make R=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/share/freeradius $fs/usr/share
40 cp -a $_pkg/etc $fs
41 cp -a $_pkg/var $fs
42 rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam
43 }