wok-stable annotate freeradius/receipt @ rev 1481
update BUILD_DEPENDS for easytag gnome-doc-utils libglade libgnomeprint libsexy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 04 19:30:08 2008 +0000 (2008-10-04) |
parents | 6c076951fbe8 |
children | b7a4721eb10b |
rev | line source |
---|---|
sdaigl@48 | 1 # SliTaz package receipt. |
sdaigl@48 | 2 |
sdaigl@48 | 3 PACKAGE="freeradius" |
pascal@1302 | 4 VERSION="2.0.5" |
sdaigl@48 | 5 CATEGORY="security" |
sdaigl@48 | 6 SHORT_DESC="radius server" |
sdaigl@48 | 7 MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca" |
pascal@1302 | 8 DEPENDS="openssl" |
pascal@1302 | 9 BUILD_DEPENDS="libtool openldap-dev openssl-dev" |
pascal@1302 | 10 SOURCE="freeradius-server" |
pascal@1302 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@138 | 12 WEB_SITE="http://www.freeradius.org/" |
pankso@414 | 13 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$TARBALL" |
sdaigl@48 | 14 |
sdaigl@48 | 15 # Rules to configure and make the package. |
sdaigl@48 | 16 compile_rules() |
sdaigl@48 | 17 { |
sdaigl@48 | 18 cd $src |
sdaigl@48 | 19 ./configure --prefix=/usr \ |
sdaigl@48 | 20 --infodir=/usr/share/info \ |
sdaigl@48 | 21 --mandir=/usr/share/man \ |
sdaigl@48 | 22 --sysconfdir=/etc \ |
sdaigl@48 | 23 --localstatedir=/var \ |
pascal@1302 | 24 --with-system-libtool \ |
sdaigl@48 | 25 $CONFIGURE_ARGS |
sdaigl@48 | 26 make |
sdaigl@48 | 27 make R=$PWD/_pkg install |
sdaigl@48 | 28 } |
sdaigl@48 | 29 |
sdaigl@48 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
sdaigl@48 | 31 genpkg_rules() |
sdaigl@48 | 32 { |
sdaigl@48 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
sdaigl@48 | 34 |
sdaigl@48 | 35 cp -a $_pkg/usr/bin $fs/usr |
sdaigl@48 | 36 cp -a $_pkg/usr/sbin $fs/usr |
sdaigl@48 | 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
sdaigl@48 | 38 cp -a $_pkg/usr/share/freeradius $fs/usr/share |
sdaigl@48 | 39 cp -a $_pkg/etc $fs |
sdaigl@48 | 40 cp -a $_pkg/var $fs |
sdaigl@48 | 41 } |