wok-next view pam-dev/receipt @ rev 6540
Disable chain-cook & add +build option for genpkg only
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Thu Oct 07 02:09:49 2010 +0200 (2010-10-07) |
parents | 8e44b7502050 |
children | e06b8d6ac967 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pam-dev"
4 VERSION="1.1.0"
5 CATEGORY="development"
6 SHORT_DESC="Pluggable Authentication Modules, development files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WANTED="pam"
9 SOURCE="Linux-PAM"
10 WEB_SITE="http://www.us.kernel.org/pub/linux/libs/pam/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 # tazwok does not define _pkg correctly when both WANTED and SOURCE are set
16 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
18 mkdir -p $fs/lib $fs/usr
19 cp -a $_pkg/usr/include $fs/usr
20 ln -s security $fs/usr/include/pam
21 cp -a $_pkg/lib/*.*a $fs/lib
22 cp -a $_pkg/lib/security/*a $fs/lib
23 }