PKGBUILDs/extra/php/PKGBUILD

41 lines
1 KiB
Bash
Raw Normal View History

2010-09-07 21:24:46 +00:00
# $Id: PKGBUILD 86064 2010-07-25 11:20:29Z pierre $
2009-10-10 02:23:22 +00:00
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
2010-09-07 21:24:46 +00:00
pkgbase=php
pkgname=('php')
pkgver=5.3.3
pkgrel=4
_suhosinver=${pkgver}-0.9.10
arch=('i686' 'x86_64')
2009-10-10 02:23:22 +00:00
license=('PHP')
url='http://www.php.net'
2010-09-07 21:24:46 +00:00
options=('!makeflags')
source=('php.tar.bz2')
md5sums=('4dc4271319d697ff8588d80c935ca08c')
2009-10-10 02:23:22 +00:00
build() {
2010-09-07 21:24:46 +00:00
# ldap-sasl does not compile with --as-needed
export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
export LDFLAGS="${LDFLAGS//,--as-needed}"
2010-02-17 08:24:38 +00:00
2010-09-07 21:24:46 +00:00
}
2009-10-10 02:23:22 +00:00
2010-09-07 21:24:46 +00:00
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}
2009-10-10 02:23:22 +00:00
}
2010-09-07 21:24:46 +00:00