[haiku-commits] haiku: hrev44568 - build/jam

  • From: scott mc <scottmc2@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 20 Aug 2012 18:13:22 +0200 (CEST)

hrev44568 adds 1 changeset to branch 'master'
old head: 2c1f6c10cea42833d502ed3e97cae02565d9f885
new head: b9398be907bef8133955acf08642bca8607b10c4

----------------------------------------------------------------------------

b9398be: Added chess game Puri as an OptionalPackage

                                     [ Scott McCreary <scottmc2@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev44568
Commit:      b9398be907bef8133955acf08642bca8607b10c4
URL:         http://cgit.haiku-os.org/haiku/commit/?id=b9398be
Author:      Scott McCreary <scottmc2@xxxxxxxxx>
Date:        Fri Aug 17 12:33:02 2012 UTC

----------------------------------------------------------------------------

1 file changed, 19 insertions(+)
build/jam/OptionalPackages |   19 +++++++++++++++++++

----------------------------------------------------------------------------

diff --git a/build/jam/OptionalPackages b/build/jam/OptionalPackages
index a5a96df..bff3445 100644
--- a/build/jam/OptionalPackages
+++ b/build/jam/OptionalPackages
@@ -81,6 +81,7 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) = 1
 #      Pe                                              - the powerful native 
Programmer's Editor
 #      Perl                                    - the scripting language
 #      Python                                  - the scripting language
+#      Puri                                    - chess game
 #      Rsync                                   - remote directory 
synchronization
 #      Ruby                                    - the programming language
 #      Sed                                             - the ultimate stream 
editor
@@ -1605,6 +1606,24 @@ if [ IsOptionalHaikuImagePackageAdded Perl ] {
 }
 
 
+# Puri
+if [ IsOptionalHaikuImagePackageAdded Puri ] {
+       if $(TARGET_ARCH) != x86 {
+               Echo "No optional package Puri available for $(TARGET_ARCH)" ;
+       } else {
+               if $(HAIKU_GCC_VERSION[1]) >= 4 {
+                       InstallOptionalHaikuImagePackage
+                               puri-0.3.9.1-x86-gcc4-2012-08-16.zip
+                               : 
$(baseURL)/puri-0.3.9.1-x86-gcc4-2012-08-16.zip ;
+               } else {
+                       Echo "No optional package Puri available for gcc2" ;
+               }
+               AddSymlinkToHaikuImage home config settings deskbar Applications
+                       : /boot/apps/Puri/Puri ;
+       }
+}
+
+
 # Python
 if [ IsOptionalHaikuImagePackageAdded Python ] {
        if $(TARGET_ARCH) != x86 {


Other related posts: