wok-current annotate freeradius-pam/receipt @ rev 7856
ruby: build and package with shared library, added zlib-dev BUILD_DEPENDS.
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Fri Dec 31 08:55:12 2010 +0000 (2010-12-31) |
parents | b61c9cd1de98 |
children | be13f25e790b |
rev | line source |
---|---|
pascal@2231 | 1 # SliTaz package receipt. |
pascal@2226 | 2 |
pascal@2226 | 3 PACKAGE="freeradius-pam" |
pascal@2230 | 4 VERSION="2.1.3" |
pascal@2226 | 5 CATEGORY="security" |
pascal@2226 | 6 SHORT_DESC="pam module for radius server" |
pascal@2226 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2226 | 8 DEPENDS="freeradius pam" |
pascal@2226 | 9 WEB_SITE="http://www.freeradius.org/" |
pascal@2226 | 10 WANTED="freeradius" |
pascal@2226 | 11 SOURCE="freeradius-server" |
pascal@7632 | 12 PROVIDE="freeradius:pam" |
pascal@2226 | 13 |
pascal@2226 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2226 | 15 genpkg_rules() |
pascal@2226 | 16 { |
pascal@2226 | 17 mkdir -p $fs/usr/lib $fs/etc/raddb/modules |
pascal@2226 | 18 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg |
pascal@2226 | 19 cp -a $_pkg/usr/lib/rlm_pam*.so* $fs/usr/lib |
pascal@2226 | 20 cp -a $_pkg/etc/raddb/modules/pam $fs/etc/raddb/modules |
pascal@2226 | 21 } |
pascal@2226 | 22 |