Remove php-pdo-mysql in favour of opt/php-mysql
This commit is contained in:
parent
0cfb6f0f1c
commit
c2ee599e32
@ -1,9 +0,0 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/php/
|
||||
drwxr-xr-x root/root etc/php/conf.d/
|
||||
-rw-r--r-- root/root etc/php/conf.d/pdo_mysql.ini
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/php/
|
||||
drwxr-xr-x root/root usr/lib/php/extensions/
|
||||
-rwxr-xr-x root/root usr/lib/php/extensions/pdo_mysql.so
|
@ -1 +0,0 @@
|
||||
c9aa0f4996d1b91ee9e45afcfaeb5d2e php-5.4.6.tar.bz2
|
@ -1,22 +0,0 @@
|
||||
# Description: A driver that implements the PDO interface to MySQL
|
||||
# URL: http://www.php.net
|
||||
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
|
||||
# Depends on: mysql
|
||||
|
||||
name=php-pdo-mysql
|
||||
version=5.4.6
|
||||
release=1
|
||||
source=(http://www.php.net/distributions/php-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd php-$version
|
||||
|
||||
./configure --disable-all \
|
||||
--enable-pdo=shared \
|
||||
--with-pdo-mysql=shared,/usr
|
||||
make build-modules
|
||||
|
||||
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
|
||||
install -m 755 modules/pdo_mysql.so $PKG/usr/lib/php/extensions
|
||||
echo "extension=pdo_mysql.so" > $PKG/etc/php/conf.d/pdo_mysql.ini
|
||||
}
|
Loading…
Reference in New Issue
Block a user