From 2af5a3e2d594e4e7a39c696df54563600580ccf1 Mon Sep 17 00:00:00 2001 From: Mikhail Kolesnik Date: Tue, 27 May 2008 10:22:03 +0300 Subject: [PATCH] php-mcrypt: initial import --- php-mcrypt/.footprint | 9 +++++++++ php-mcrypt/.md5sum | 1 + php-mcrypt/Pkgfile | 21 +++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 php-mcrypt/.footprint create mode 100644 php-mcrypt/.md5sum create mode 100644 php-mcrypt/Pkgfile diff --git a/php-mcrypt/.footprint b/php-mcrypt/.footprint new file mode 100644 index 000000000..1b10e7276 --- /dev/null +++ b/php-mcrypt/.footprint @@ -0,0 +1,9 @@ +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/mcrypt.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/mcrypt.so diff --git a/php-mcrypt/.md5sum b/php-mcrypt/.md5sum new file mode 100644 index 000000000..e5e6022cf --- /dev/null +++ b/php-mcrypt/.md5sum @@ -0,0 +1 @@ +7380ffecebd95c6edb317ef861229ebd php-5.2.6.tar.bz2 diff --git a/php-mcrypt/Pkgfile b/php-mcrypt/Pkgfile new file mode 100644 index 000000000..783725407 --- /dev/null +++ b/php-mcrypt/Pkgfile @@ -0,0 +1,21 @@ +# Description: MCrypt module for php +# URL: http://www.php.net +# Maintainer: Mikhail Kolesnik, mike at openbunker dot org +# Depends on: libmcrypt + +name=php-mcrypt +version=5.2.6 +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 +}