[haiku-commits] r37151 - haiku/trunk/build/jam

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 15 Jun 2010 21:33:25 +0200 (CEST)

Author: stippi
Date: 2010-06-15 21:33:25 +0200 (Tue, 15 Jun 2010)
New Revision: 37151
Changeset: http://dev.haiku-os.org/changeset/37151/haiku

Modified:
   haiku/trunk/build/jam/OptionalPackages
Log:
Added optional package for gperf, the perfect hash
function generator. This build tool is needed by the
WebPositive build for example.


Modified: haiku/trunk/build/jam/OptionalPackages
===================================================================
--- haiku/trunk/build/jam/OptionalPackages      2010-06-15 19:12:29 UTC (rev 
37150)
+++ haiku/trunk/build/jam/OptionalPackages      2010-06-15 19:33:25 UTC (rev 
37151)
@@ -38,6 +38,7 @@
 #      friss                                   - RSS/ATOM/... feeds reader
 #      GetText                                 - a framework to help produce 
multi-lingual messages.
 #      Git                                             - the distributed 
version control system
+#      GPerf                                   - the perfect hash function 
generator.
 #      ICU-devel                               - the headers for ICU (for 
development)
 #      KeymapSwitcher                  - Easy to use keymap switcher
 #      LibEvent                                - An event notification library
@@ -702,6 +703,30 @@
 }
 
 
+# GPerf
+if [ IsOptionalHaikuImagePackageAdded GPerf ] {
+       if $(TARGET_ARCH) != x86 {
+               Echo "No optional package GPerf available for $(TARGET_ARCH)" ;
+       } else {
+               if $(HAIKU_GCC_VERSION[1]) >= 4 {
+                       InstallOptionalHaikuImagePackage
+                               gperf-3.0.4-x86-gcc4-2010-06-15.zip
+                               : $(baseURL)/gperf-3.0.4-x86-gcc4-2010-06-15.zip
+                               :
+                               : true
+                       ;
+               } else {
+                       InstallOptionalHaikuImagePackage
+                               gperf-3.0.4-x86-gcc2-2010-06-15.zip
+                               : $(baseURL)/gperf-3.0.4-x86-gcc2-2010-06-15.zip
+                               :
+                               : true
+                       ;
+               }
+       }
+}
+
+
 # ICU-devel
 if [ IsOptionalHaikuImagePackageAdded ICU-devel ] {
        InstallOptionalHaikuImagePackage icu-devel-4.2-2010-01-26.zip


Other related posts:

  • » [haiku-commits] r37151 - haiku/trunk/build/jam - superstippi