PKGBUILDs/extra/php/PKGBUILD
mikestaszel@gmail.com b1f141490e pepedogs latest PHP
2010-09-07 21:24:46 +00:00

40 lines
1 KiB
Bash

# $Id: PKGBUILD 86064 2010-07-25 11:20:29Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgbase=php
pkgname=('php')
pkgver=5.3.3
pkgrel=4
_suhosinver=${pkgver}-0.9.10
arch=('i686' 'x86_64')
license=('PHP')
url='http://www.php.net'
options=('!makeflags')
source=('php.tar.bz2')
md5sums=('4dc4271319d697ff8588d80c935ca08c')
build() {
# ldap-sasl does not compile with --as-needed
export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
export LDFLAGS="${LDFLAGS//,--as-needed}"
}
package_php() {
pkgdesc='An HTML-embedded scripting language'
depends=('pcre' 'libxml2' 'bzip2' 'openssl' 'imap'
'postgresql-libs' 'mysql' 'libldap' 'postfix'
'sqlite3' 'unixodbc' 'net-snmp' 'libzip' 'enchant' 'file'
'libmcrypt' 'tidyhtml' 'aspell' 'libtool' 'gd' 'icu'
'curl' 'libxslt' 'openssl' 'bzip2' 'db' 'gmp' 'libevent')
replaces=('php-fileinfo')
provides=('php-fileinfo')
conflicts=('php-fileinfo')
backup=('etc/php/php.ini')
cp -R ${srcdir}/etc ${pkgdir}
cp -R ${srcdir}/usr ${pkgdir}
# cd ${srcdir}/${pkgbase}-${pkgver}
}