summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMassimiliano Torromeo2011-05-24 15:10:48 +0200
committerMassimiliano Torromeo2011-05-24 15:10:48 +0200
commitb14a0381815f9647258a326145f678f796f43d0d (patch)
treef93d4f15f878295ba24852bf0fae4a30233809ef
downloadaur-b14a0381815f9647258a326145f678f796f43d0d.tar.gz
Packaged php pecl extension txforward
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD29
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c3a90bfb481
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = php-txforward
+ pkgdesc = PHP extension that makes reverse-proxing totally invisible for php applications.
+ pkgver = 1.0.7
+ pkgrel = 2
+ url = http://fcartegnie.free.fr/patchs/txforward.html
+ arch = i686
+ arch = x86_64
+ license = PHP
+ depends = php
+ backup = etc/php/conf.d/txforward.ini
+ source = http://pecl.php.net/get/txforward-1.0.7.tgz
+ sha256sums = 9a6293245984e99a60f1f9d7290a897c86c9c952581d60e137f7d12806e637ba
+
+pkgname = php-txforward
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..15e4c536a85
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+
+pkgname=php-txforward
+_extname=txforward
+pkgver=1.0.7
+pkgrel=1
+pkgdesc="PHP extension that makes reverse-proxing totally invisible for php applications."
+arch=("i686" "x86_64")
+url="http://fcartegnie.free.fr/patchs/txforward.html"
+license=('PHP')
+depends=('php')
+source=("http://pecl.php.net/get/$_extname-$pkgver.tgz")
+backup=("etc/php/conf.d/$_extname.ini")
+md5sums=('46b80b0f8acfeda5364d8e0812e0a34f')
+
+build() {
+ cd "${srcdir}/$_extname-$pkgver"
+
+ phpize
+ ./configure
+ make
+
+ install -m0755 -d "$pkgdir/etc/php/conf.d/"
+ echo "extension=$_extname.so" > "$pkgdir/etc/php/conf.d/$_extname.ini"
+ chmod 0644 "$pkgdir/etc/php/conf.d/$_extname.ini"
+ install -m0755 -D ".libs/$_extname.so" "$pkgdir$(php-config --extension-dir)/$_extname.so"
+}
+
+# vim:set ts=2 sw=2 et: