wok diff php-auth-pam/receipt @ rev 15473
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 09 20:47:29 2013 +0000 (2013-11-09) |
parents | b7319995b37e |
children | 15030aba419f |
line diff
1.1 --- a/php-auth-pam/receipt Mon Jan 02 23:06:18 2012 +0100 1.2 +++ b/php-auth-pam/receipt Sat Nov 09 20:47:29 2013 +0000 1.3 @@ -5,12 +5,13 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="PHP extension for PAM" 1.6 MAINTAINER="erjo@slitaz.org" 1.7 -DEPENDS="php-apache pam" 1.8 -BUILD_DEPENDS="php-dev pam pam-dev autoconf automake" 1.9 +LICENSE="BSD" 1.10 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz" 1.11 WEB_SITE="http://packages.debian.org/" 1.12 WGET_URL="http://ftp.de.debian.org/debian/pool/main/p/php-auth-pam/$TARBALL" 1.13 1.14 +DEPENDS="php-apache pam" 1.15 +BUILD_DEPENDS="php-dev pam pam-dev autoconf automake" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 @@ -20,6 +21,7 @@ 1.20 cd $src 1.21 phpize 1.22 patch -p1 < $stuff/php-auth-pam-Makefile.global0.4.u || exit 1 1.23 + sed -i 's/^function_entry/zend_&/;s/pval /zval /' pam_auth.c # php 5.4 1.24 1.25 ./configure $CONFIGURE_ARGS \ 1.26 --prefix=/usr && 1.27 @@ -31,7 +33,7 @@ 1.28 genpkg_rules() 1.29 { 1.30 mkdir -p $fs/usr/share/php 1.31 - cp -a $_pkg/usr/lib/php/extensions/*/*.so $fs/usr/share/php 1.32 + cp -a $install/usr/lib/php/extensions/*/*.so $fs/usr/share/php 1.33 } 1.34 1.35 post_install()