summaryrefslogtreecommitdiff
path: root/php-gettext
diff options
context:
space:
mode:
authorMikhail Kolesnik <mike@openbunker.org>2008-05-08 15:47:13 +0300
committerMikhail Kolesnik <mike@openbunker.org>2008-05-08 15:47:13 +0300
commit0c7c59a8da3cff717d800adc172554621b6bc143 (patch)
treebaa828de05a291166824695cf989a818228fbcdc /php-gettext
parent0ccb11825fd42f308fdc61e55d8a25fa0871c548 (diff)
downloadcontrib-0c7c59a8da3cff717d800adc172554621b6bc143.tar.gz
contrib-0c7c59a8da3cff717d800adc172554621b6bc143.tar.xz
php-gettext: initial import
Diffstat (limited to 'php-gettext')
-rw-r--r--php-gettext/.footprint9
-rw-r--r--php-gettext/.md5sum1
-rw-r--r--php-gettext/Pkgfile21
3 files changed, 31 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..e5e6022cf
--- /dev/null
+++ b/php-gettext/.md5sum
@@ -0,0 +1 @@
+7380ffecebd95c6edb317ef861229ebd php-5.2.6.tar.bz2
diff --git a/php-gettext/Pkgfile b/php-gettext/Pkgfile
new file mode 100644
index 000000000..1f456bb52
--- /dev/null
+++ b/php-gettext/Pkgfile
@@ -0,0 +1,21 @@
+# Description: GNU gettext module for PHP
+# URL: http://www.php.net
+# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
+# Depends on:
+
+name=php-gettext
+version=5.2.6
+release=1
+source=(http://www.php.net/distributions/php-$version.tar.bz2)
+
+build() {
+ cd php-$version
+
+ ./configure --disable-all \
+ --with-gettext=shared,/usr
+ make build-modules
+
+ install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
+ install -m 755 modules/gettext.so $PKG/usr/lib/php/extensions
+ echo "extension=gettext.so" > $PKG/etc/php/conf.d/gettext.ini
+}

Generated by cgit