Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1ce43802135a230b8535fb19b76de3496bd20544

commit 1ce43802135a230b8535fb19b76de3496bd20544
Author: janny <[EMAIL PROTECTED]>
Date:   Sat Nov 3 14:07:27 2007 +0100

xcache-1.2.1-1-i686
version bump
modified with new url up2date(),source(),README

diff --git a/source/network-extra/xcache/FrugalBuild 
b/source/network-extra/xcache/FrugalBuild
index 19a0903..2410658 100644
--- a/source/network-extra/xcache/FrugalBuild
+++ b/source/network-extra/xcache/FrugalBuild
@@ -2,30 +2,37 @@
# Maintainer: Janny <[EMAIL PROTECTED]>

pkgname=xcache
-pkgver=1.2.0
+pkgver=1.2.1
pkgrel=1
-url="http://trac.lighttpd.net/xcache/";
+url="http://xcache.lighttpd.net";
pkgdesc="XCache is a fast, stable PHP opcode cacher."
depends=('php')
groups=('network-extra')
archs=('i686' 'x86_64')
-up2date="lynx -dump http://210.51.190.228/pub/XCache/Releases/|Flasttar"
-source=(http://210.51.190.228/pub/XCache/Releases/$pkgname-$pkgver.tar.gz \
+up2date="lynx -dump $url/wiki/ReleaseArchive|grep Release-[0-9\.]|sort|sed -n 
's/.*Release-\(.*\)\.*/\1/;1 p'"
+source=($url/pub/Releases/$pkgver/$pkgname-$pkgver.tar.bz2 \
README.Frugalware)
-sha1sums=('79227f1d95f8cb7bc57cf14b1a2948ade92bbfdc' \
-         'a9c415163ddb8f50e761bc35db92f10da65a2497')
+sha1sums=('3ba91e1d617f51e27aa0c0a7accefb0bb5e69949' \
+          '95e73c8bc8334f13cf7434b822bb18a0cb671505')

build()
{
-        Fcd $pkgname/
+        Fcd
phpize || Fdie
-       Fmake --enable-xcache --enable-xcache-coverager
+       Fmake --enable-xcache=shared \
+       --enable-xcache-constant  \
+       --enable-xcache-optimizer \
+       --enable-xcache-coverager \
+       --enable-xcache-assembler \
+       --enable-xcache-encoder   \
+       --enable-xcache-decoder
cd modules
-        Fexerel /usr/lib/php/$pkgname.so
+        Fexerel usr/lib/php/$pkgname.so
+       cd ..
Fmkdir /usr/share/xcache/admin
-       Fcpr $pkgname/admin/* usr/share/xcache/admin
+       Fcpr $pkgname-$pkgver/admin/* usr/share/xcache/admin
Fdoc README.Frugalware
-       Ffile $pkgname/xcache.ini usr/share/doc/$pkgname-$pkgver/
+       Ffilerel xcache.ini usr/share/doc/$pkgname-$pkgver/
}

# optimization OK
diff --git a/source/network-extra/xcache/README.Frugalware 
b/source/network-extra/xcache/README.Frugalware
index 86b14c7..177c374 100644
--- a/source/network-extra/xcache/README.Frugalware
+++ b/source/network-extra/xcache/README.Frugalware
@@ -17,4 +17,4 @@ Installing As PHP Extension?

WARNING: Use >> with cat, not simply >

-Please take a look on http://trac.lighttpd.net/xcache/wiki[xcache wiki].
+Please take a look on http://xcache.lighttpd.net/[xcache wiki].
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to