Added optional package for gperf, the perfect hash

function generator. This build tool is needed by the
WebPositive build for example.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37151 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-06-15 19:33:25 +00:00
parent 945ca4378b
commit a85ada29a6
+25
View File
@@ -38,6 +38,7 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) = 1
# 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 @@ if [ IsOptionalHaikuImagePackageAdded Git ] {
}
# 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