Files
Arch-R/packages/lang/php/build
Stephan Raue 7d21c5ca39 php: move to packages/lang
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2011-04-16 16:22:07 +02:00

77 lines
2.6 KiB
Bash
Executable File

#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
strip_lto
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--disable-static \
--enable-shared \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-all \
--without-pear \
--with-config-file-path=/etc \
--localstatedir=/var \
--disable-cli \
--enable-cgi \
--enable-fastcgi \
--disable-sockets \
--disable-posix \
--disable-spl \
--disable-session \
--without-openssl \
--disable-libxml \
--disable-xml \
--disable-xmlreader \
--disable-xmlwriter \
--disable-simplexml \
--with-zlib=$SYSROOT_PREFIX/usr \
--disable-exif \
--disable-ftp \
--without-gettext \
--without-gmp \
--disable-json \
--without-readline \
--without-ncurses \
--disable-pcntl \
--disable-sysvmsg \
--disable-sysvsem \
--disable-sysvshm \
--disable-zip \
--disable-filter \
--disable-calendar \
--with-curl=$SYSROOT_PREFIX/usr \
--with-pcre-regex \
--without-sqlite \
--with-sqlite3=$SYSROOT_PREFIX/usr \
--enable-sqlite-utf8 \
--disable-pdo \
--without-pdo-sqlite \
--without-pdo-mysql \
make