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

commit a1e3aeae06aacdbf37e3c8df04ec10c518ea0f99
Author: Devil505 <devil505li...@gmail.com>
Date:   Sun Jul 10 09:52:51 2011 +0200

gtest-1.6.0-1-i686
* version bump
* up2date fixed
* build now uses CMake

diff --git a/source/devel-extra/gtest/FrugalBuild 
b/source/devel-extra/gtest/FrugalBuild
index 97058f0..6e15b86 100644
--- a/source/devel-extra/gtest/FrugalBuild
+++ b/source/devel-extra/gtest/FrugalBuild
@@ -2,15 +2,25 @@
# Maintainer: Devil505 <devil505li...@gmail.com>

pkgname=gtest
-pkgver=1.5.0
+pkgver=1.6.0
pkgrel=1
pkgdesc="Google Test - C++ testing utility based on the xUnit framework (like 
JUnit)"
depends=('libstdc++')
groups=('devel-extra')
archs=('i686' 'x86_64')
-_F_googlecode_ext=".tar.bz2"
+_F_googlecode_ext=".zip"
_F_googlecode_dirname="googletest"
-Finclude googlecode
-sha1sums=('6d16bc182faef14a2101182563d44d31cb021401')
+Finclude googlecode cmake
+sha1sums=('00d6be170eb9fc3b2198ffdcb1f1d6ba7fc6e621')
+
+build() {
+        Fcd
+        CMake_make
+        Fmkdir usr/{lib,include/gtest/internal,$pkgname}
+        cd .. || Fdie
+        Finstallrel 644 build/libgtest{,_main}.a usr/lib/
+        Finstallrel 644 include/gtest/*.h usr/include/$pkgname/
+        Finstallrel 644 include/gtest/internal/*.h 
usr/include/$pkgname/internal/
+}

# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to