summaryrefslogtreecommitdiff
path: root/php-gettext
diff options
context:
space:
mode:
authorAlan Mizrahi <alan+crux@mizrahi.com.ve>2015-08-07 11:58:40 +0900
committerAlan Mizrahi <alan+crux@mizrahi.com.ve>2015-08-07 11:58:40 +0900
commit32084b05539bc5dd05be43d1829b73e6c5e4639f (patch)
treee54d3c6cede95091178f37336c33d4656b022238 /php-gettext
parent2f773c07090000259f8d34daa6fcf29eb3a5405e (diff)
downloadopt-32084b05539bc5dd05be43d1829b73e6c5e4639f.tar.gz
opt-32084b05539bc5dd05be43d1829b73e6c5e4639f.tar.xz
php-gettext: initial commit version 5.5.27
Diffstat (limited to 'php-gettext')
-rw-r--r--php-gettext/.footprint9
-rw-r--r--php-gettext/.md5sum1
-rw-r--r--php-gettext/Pkgfile25
3 files changed, 35 insertions, 0 deletions
diff --git a/php-gettext/.footprint b/php-gettext/.footprint
new file mode 100644
index 000000000..1c109137c
--- /dev/null
+++ b/php-gettext/.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/gettext.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/gettext.so
diff --git a/php-gettext/.md5sum b/php-gettext/.md5sum
new file mode 100644
index 000000000..f5f173cc4
--- /dev/null
+++ b/php-gettext/.md5sum
@@ -0,0 +1 @@
+2efe7c087d7073bffa64e5d538f22711 php-5.5.27.tar.xz
diff --git a/php-gettext/Pkgfile b/php-gettext/Pkgfile
new file mode 100644
index 000000000..142790aec
--- /dev/null
+++ b/php-gettext/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Gettext module for PHP
+# URL: http://www.php.net
+# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
+# Depends on:
+
+name=php-gettext
+version=5.5.27
+release=1
+source=(http://www.php.net/distributions/php-$version.tar.xz)
+
+build() {
+ cd php-$version
+
+ ./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
+
+}

Generated by cgit