23 lines
600 B
Plaintext
23 lines
600 B
Plaintext
# Description: MCrypt module for php
|
|
# URL: http://www.php.net
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Packager: Mikhail Kolesnik, mike at openbunker dot org
|
|
# Depends on: libmcrypt
|
|
|
|
name=php-mcrypt
|
|
version=5.6.15
|
|
release=1
|
|
source=(http://www.php.net/distributions/php-$version.tar.xz)
|
|
|
|
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
|
|
}
|