wok-6.x annotate freeradius/receipt @ rev 1245
perdition: describe known bugs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 12 07:24:16 2008 +0000 (2008-08-12) |
parents | cf0444d3c315 |
children | 8dfc42034cf9 |
rev | line source |
---|---|
sdaigl@48 | 1 # SliTaz package receipt. |
sdaigl@48 | 2 |
sdaigl@48 | 3 PACKAGE="freeradius" |
sdaigl@48 | 4 VERSION="1.1.7" |
sdaigl@48 | 5 CATEGORY="security" |
sdaigl@48 | 6 SHORT_DESC="radius server" |
sdaigl@48 | 7 MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca" |
pascal@1066 | 8 DEPENDS="libtool openssl" |
sdaigl@48 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@138 | 10 WEB_SITE="http://www.freeradius.org/" |
pankso@414 | 11 WGET_URL="ftp://ftp.freeradius.org/pub/radius/$TARBALL" |
sdaigl@48 | 12 |
sdaigl@48 | 13 # Rules to configure and make the package. |
sdaigl@48 | 14 compile_rules() |
sdaigl@48 | 15 { |
sdaigl@48 | 16 cd $src |
sdaigl@48 | 17 ./configure --prefix=/usr \ |
sdaigl@48 | 18 --infodir=/usr/share/info \ |
sdaigl@48 | 19 --mandir=/usr/share/man \ |
sdaigl@48 | 20 --sysconfdir=/etc \ |
sdaigl@48 | 21 --localstatedir=/var \ |
sdaigl@48 | 22 $CONFIGURE_ARGS |
sdaigl@48 | 23 make |
sdaigl@48 | 24 make R=$PWD/_pkg 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 |
sdaigl@48 | 38 |
sdaigl@48 | 39 strip -s $fs/usr/bin/* |
sdaigl@48 | 40 strip -s $fs/usr/sbin/* |
sdaigl@48 | 41 strip -s $fs/usr/lib/* |
sdaigl@48 | 42 } |