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

commit 4a3c1a51f7fc9a6aa08c1e0b87f9bdcdfc4d25e7
Author: kikadf <[email protected]>
Date:   Wed Dec 11 11:45:33 2013 +0100

thrift-0.9.1-1-x86_64

* Version bump

diff --git a/source/devel-extra/thrift/FrugalBuild 
b/source/devel-extra/thrift/FrugalBuild
index 5d3135b..3d0e4c5 100644
--- a/source/devel-extra/thrift/FrugalBuild
+++ b/source/devel-extra/thrift/FrugalBuild
@@ -1,22 +1,37 @@
# Compiling Time: 2.93 SBU
# Maintainer: kikadf <[email protected]>

+options+=('asneeded')
+
+USE_DEVEL=${USE_DEVEL:-"y"}
+
pkgname=thrift
-pkgver=0.9.0
-pkgrel=4
+pkgver=0.9.1
+pkgrel=1
pkgdesc="Thrift is a software framework for scalable cross-language services 
development."
url="http://thrift.apache.org/";
depends=()
-makedepends=('bison' 'libevent' 'flex' 'apache-ant' 'boost>=1.50.0')
+makedepends=('bison' 'libevent' 'flex' 'apache-ant' 'boost>=1.50.0' 'automake')
Fconfopts+=" --without-erlang --without-ruby"
license="Apache"
groups=('devel-extra')
archs=('i686' 'x86_64')
+if Fuse $USE_DEVEL; then
+       _F_scm_type="git"
+       _F_scm_url="https://git-wip-us.apache.org/repos/asf/thrift.git";
+       Finclude scm
+       source=(maven-repo-path.patch)
+       sha1sums=('070caa257996bef36276fce735955693a6c468e2')
+       else
+       
source=(http://www.apache.org/dist//$pkgname/$pkgver/$pkgname-$pkgver.tar.gz \
+               maven-repo-path.patch)
+       sha1sums=('dc54a54f8dc706ffddcd3e8c6cd5301c931af1cc' \
+                 '070caa257996bef36276fce735955693a6c468e2')
+fi
up2date="lynx -dump $url/download | grep 'Thrift is' | cut -d ' ' -f 11"
-source=(http://www.apache.org/dist//$pkgname/$pkgver/$pkgname-$pkgver.tar.gz \
-        maven-repo-path.patch)
-sha1sums=('fefcf4d729bf80da419407dfa028740aa95fa2e3' \
-          '070caa257996bef36276fce735955693a6c468e2')
+
+
+

subpkgs=("${subpkgs[@]}" "$pkgname-java")
subdescs=("${subdescs[@]}" "Java bindings for thift.")
@@ -53,10 +68,22 @@ subdepends=("${subdepends[@]}" "perl-bit-vector")
subgroups=("${subgroups[@]}" 'devel-extra')
subarchs=("${subarchs[@]}" 'i686 x86_64')

+subpkgs=("${subpkgs[@]}" "$pkgname-qt4")
+subdescs=("${subdescs[@]}" "Qt4 bindings for thift.")
+subrodepends=("${subrodepends[@]}" "$pkgname=$pkgver")
+subdepends=("${subdepends[@]}" "libqtnetwork")
+subgroups=("${subgroups[@]}" 'devel-extra')
+subarchs=("${subarchs[@]}" 'i686 x86_64')
+
Finclude python

build()
{
+       if Fuse $USE_DEVEL; then
+               Funpack_scm
+               ./bootstrap.sh || Fdie
+               _F_cd_path="$pkgname"
+       fi
unset MAKEFLAGS
Fsed 'JAVA_PREFIX="\/usr\/local\/lib"' 'JAVA_PREFIX="\/usr\/share\/java"' 
configure
Fsed 'PERL_PREFIX="\/usr\/local"' 'PERL_PREFIX="\/usr"' configure
@@ -74,6 +101,9 @@ build()
Fsplit $pkgname-php /usr/lib/php
Fsplit $pkgname-php /etc
Fsplit $pkgname-perl /usr/lib/perl5
+       Fsplit $pkgname-qt4 /usr/lib/libthriftqt*
+       Fsplit $pkgname-qt4 /usr/lib/pkgconfig/thrift-qt.pc
+       Fsplit $pkgname-qt4 /usr/include/thrift/qt
}

_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to