milis/talimatname/genel/p/php-mysql/talimat

30 lines
764 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: PHP için MySQL modulü
# URL: http://www.php.net
# Paketçi: milisarge
# Gerekler: mariadb php
# Grup: sistem
isim=php-mysql
surum=5.6.31
devir=1
kaynak=(http://php.net/distributions/php-$surum.tar.xz)
derle() {
cd php-$surum
./configure --disable-all \
--enable-pdo=shared \
--enable-mysqlnd=shared \
--with-mysql=shared,mysqlnd \
--with-mysqli=shared,mysqlnd \
--with-pdo-mysql=shared,mysqlnd
make build-modules
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
install -m 755 modules/*mysql*.so $PKG/usr/lib/php/extensions
printf 'extension=%s\n' {mysqlnd,mysql,mysqli,pdo_mysql}.so \
> $PKG/etc/php/conf.d/mysql.ini
}