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

26 lines
526 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Php için Gettext modülü
2017-04-11 08:59:48 +02:00
# URL: http://www.php.net
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2017-02-19 21:58:42 +01:00
2017-10-28 14:10:23 +02:00
isim=php-gettext
surum=5.6.31
devir=1
kaynak=(http://www.php.net/distributions/php-$surum.tar.xz)
2017-02-19 21:58:42 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd php-$surum
2017-02-19 21:58:42 +01:00
./configure \
--disable-all \
--with-${name#*-}=shared,/usr
make build-modules
install -d $PKG/etc/php/conf.d
for i in modules/*.so; do
install -D -m755 $i $PKG/usr/lib/php/extensions/${i##*/}
echo extension=/usr/lib/php/extensions/${i##*/} >> $PKG/etc/php/conf.d/${name#php-}.ini
done
}