mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
remove package: 'php", moving to unofficial
This commit is contained in:
parent
7364016adf
commit
4ec1e6561b
@ -1,74 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
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
|
|
@ -1,37 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/sapi/cgi/php-cgi $INSTALL/usr/bin
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc
|
|
||||||
cp $PKG_BUILD/php.ini-production $INSTALL/etc/php.ini
|
|
||||||
sed -e "s|^doc_root[[:space:]]*=.*$|doc_root = /usr/www|" \
|
|
||||||
-e "s|^.cgi.force_redirect[[:space:]]*=.*$|cgi.force_redirect = 0|" \
|
|
||||||
-i $INSTALL/etc/php.ini
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/www
|
|
||||||
echo "<?php" > $INSTALL/usr/www/test.php
|
|
||||||
echo "phpinfo();" >> $INSTALL/usr/www/test.php
|
|
||||||
echo "?>" >> $INSTALL/usr/www/test.php
|
|
@ -1,36 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
PKG_NAME="php"
|
|
||||||
PKG_VERSION="5.4.10"
|
|
||||||
PKG_REV="1"
|
|
||||||
PKG_ARCH="any"
|
|
||||||
PKG_LICENSE="OpenSource"
|
|
||||||
PKG_SITE="http://www.php.net"
|
|
||||||
PKG_URL="http://www.php.net/distributions/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
|
||||||
PKG_DEPENDS="zlib curl"
|
|
||||||
PKG_BUILD_DEPENDS="toolchain zlib pcre sqlite curl"
|
|
||||||
PKG_PRIORITY="optional"
|
|
||||||
PKG_SECTION="web"
|
|
||||||
PKG_SHORTDESC="php: Scripting language especially suited for Web development"
|
|
||||||
PKG_LONGDESC="PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML."
|
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
|
Loading…
x
Reference in New Issue
Block a user