mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
40 lines
1 KiB
Bash
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}
|
|
}
|
|
|