wok-next annotate radiusclient-ng/receipt @ rev 11540
up: asunder (2.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 25 13:28:57 2011 +0100 (2011-12-25) |
parents | 2650aaa6a59e |
children | 3b4e4318134e |
rev | line source |
---|---|
pascal@1176 | 1 # SliTaz package receipt. |
pascal@1176 | 2 |
pascal@1176 | 3 PACKAGE="radiusclient-ng" |
pascal@1176 | 4 VERSION="0.5.6" |
pascal@1176 | 5 CATEGORY="system-tools" |
pascal@1176 | 6 SHORT_DESC="RADIUS Client Library." |
pascal@1176 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1176 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1176 | 9 WEB_SITE="http://developer.berlios.de/projects/$PACKAGE/" |
pascal@1176 | 10 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" |
pascal@1176 | 11 |
pascal@1176 | 12 # Rules to configure and make the package. |
pascal@1176 | 13 compile_rules() |
pascal@1176 | 14 { |
pascal@1176 | 15 cd $src |
pascal@1176 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4210 | 17 --sysconfdir=/etc \ |
pascal@1176 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1176 | 19 make |
pascal@1176 | 20 make DESTDIR=$PWD/_pkg install |
pascal@1176 | 21 } |
pascal@1176 | 22 |
pascal@1176 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1176 | 24 genpkg_rules() |
pascal@1176 | 25 { |
pascal@1176 | 26 mkdir -p $fs/usr/lib |
pascal@9077 | 27 cp -a $_pkg/etc $fs |
pascal@9077 | 28 cp -a $_pkg/usr/sbin $fs/usr |
pascal@1176 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1176 | 30 } |
pascal@1176 | 31 |