diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2017-03-21 23:33:30 +0200 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-03-22 15:27:37 +0000 |
commit | a5abcb2a5d28303d2f9cc4943a265cb3fd426a45 (patch) | |
tree | 57f2baab1e8d50f65dbb3578f67f3220c2540292 /community/php7/APKBUILD | |
parent | 54001fd278163251731796697c543473841968d4 (diff) | |
download | aports-a5abcb2a5d28303d2f9cc4943a265cb3fd426a45.tar.bz2 aports-a5abcb2a5d28303d2f9cc4943a265cb3fd426a45.tar.xz |
community/php7: critical fix in -dev
move phpize back from -pear to -dev.
add unsuffixed symlinks for phpize, php-config
Diffstat (limited to 'community/php7/APKBUILD')
-rw-r--r-- | community/php7/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/community/php7/APKBUILD b/community/php7/APKBUILD index fed7169629..416b69e853 100644 --- a/community/php7/APKBUILD +++ b/community/php7/APKBUILD @@ -3,7 +3,7 @@ pkgname=php7 _pkgreal=php pkgver=7.0.17 -pkgrel=0 +pkgrel=1 pkgdesc="The PHP language runtime engine - 7th branch" url="http://www.php.net/" arch="all" @@ -192,15 +192,20 @@ package() { dev() { default_dev + replaces="php-dev" depends="$depends $pkgname $pkgname-pear" mkdir -p "$subpkgdir"/usr/bin \ - "$subpkgdir"/usr/lib/$pkgname + "$subpkgdir"/usr/lib/$pkgname || return 1 - mv "$pkgdir"/usr/bin/php-config7 "$pkgdir"/usr/bin/peardev \ + mv "$pkgdir"/usr/bin/php-config7 \ + "$pkgdir"/usr/bin/phpize7 \ + "$pkgdir"/usr/bin/peardev \ "$subpkgdir"/usr/bin/ || return 1 mv "$pkgdir"/usr/lib/$pkgname/build \ - "$subpkgdir"/usr/lib/$pkgname/ + "$subpkgdir"/usr/lib/$pkgname || return 1 + ln -sf /usr/bin/phpize7 "$subpkgdir"/usr/bin/phpize + ln -sf /usr/bin/php-config7 "$subpkgdir"/usr/bin/php-config } doc() { @@ -288,7 +293,7 @@ pear() { mkdir -p "$subpkgdir"/usr/bin \ "$subpkgdir"/etc/$pkgname - local file; for file in phpize7 pecl pear; do + local file; for file in pecl pear; do mv "$pkgdir"/usr/bin/$file "$subpkgdir"/usr/bin/ done mv "$pkgdir"/etc/$pkgname/pear.conf "$subpkgdir"/etc/$pkgname/ || return 1 |