2008-05-27 09:22:03 +02:00
|
|
|
# Description: MCrypt module for php
|
|
|
|
# URL: http://www.php.net
|
|
|
|
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
|
|
|
|
# Depends on: libmcrypt
|
|
|
|
|
|
|
|
name=php-mcrypt
|
2012-04-27 10:12:29 +02:00
|
|
|
version=5.3.11
|
2008-05-27 09:22:03 +02:00
|
|
|
release=1
|
|
|
|
source=(http://www.php.net/distributions/php-$version.tar.bz2)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd php-$version
|
|
|
|
|
|
|
|
./configure --disable-all \
|
|
|
|
--with-mcrypt=shared,/usr
|
|
|
|
make build-modules
|
|
|
|
|
|
|
|
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
|
|
|
|
install -m 755 modules/mcrypt.so $PKG/usr/lib/php/extensions
|
|
|
|
echo "extension=mcrypt.so" > $PKG/etc/php/conf.d/mcrypt.ini
|
|
|
|
}
|