2008-03-29 18:18:35 +03:00
|
|
|
# This file defines the optional packages that can be added to the Haiku image.
|
|
|
|
# It is directly included from HaikuImage -- all variables defined there can
|
|
|
|
# be used
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-03-31 00:01:25 +04:00
|
|
|
# Available Optional Packages:
|
2010-02-01 20:04:49 +03:00
|
|
|
# ABI-compliance-checker - tool for checking ABI compatibility between libs
|
2009-12-27 03:13:08 +03:00
|
|
|
# APR - support libraries used for example by Subversion
|
2010-01-04 18:45:20 +03:00
|
|
|
# APR-util - Apache portable runtime utility library
|
2010-10-30 11:19:02 +04:00
|
|
|
# ArmyKnife - tool for editing audio file metadata and attributes
|
2010-09-16 06:34:38 +04:00
|
|
|
# Bazaar - the distributed version control system
|
2010-03-14 10:19:45 +03:00
|
|
|
# BeAE - open source Audio Editor
|
2009-12-27 03:13:08 +03:00
|
|
|
# Beam - powerful native e-mail client
|
|
|
|
# BeBook - the classic BeOS API documentation
|
|
|
|
# BeHappy - special documentation (i.e. BeBook) browser
|
|
|
|
# BeOSCompatibility - creates links within the system to support old apps
|
|
|
|
# BePDF - native PDF reader
|
2010-02-12 23:45:08 +03:00
|
|
|
# BeZillaBrowser - fork of Mozilla's 1.8 branch.
|
2009-12-27 03:13:08 +03:00
|
|
|
# Bluetooth - experimental Haiku components for Bluetooth
|
2010-09-16 06:34:38 +04:00
|
|
|
# BurnItNow - CD burning app
|
2010-04-21 01:18:16 +04:00
|
|
|
# Bzip - file archiving utility
|
2013-04-28 21:56:49 +04:00
|
|
|
# CARootCertificates - bundle with trusted CA root certificates
|
2012-09-01 04:34:56 +04:00
|
|
|
# Caya - a multiprotocol im client
|
2010-09-08 12:01:53 +04:00
|
|
|
# CCache - fast compiler cache
|
2009-12-27 03:13:08 +03:00
|
|
|
# CDRecord - the command line CD writing tools
|
2012-03-10 01:06:08 +04:00
|
|
|
# Clang - the LLVM C and C++ compiler (llvm, libs, headers)
|
2009-12-27 03:13:08 +03:00
|
|
|
# Clockwerk - native audio/video compositing
|
|
|
|
# CLucene - indexed file search
|
|
|
|
# CMake - cross platform make
|
2012-05-02 07:22:26 +04:00
|
|
|
# Colors! - color picker application
|
2012-01-24 02:47:46 +04:00
|
|
|
# Ctags - exuberant ctags (source files indexing)
|
|
|
|
# Curl - a client that groks URLs
|
2009-12-27 03:13:08 +03:00
|
|
|
# CVS - the version control system
|
2013-03-12 21:44:01 +04:00
|
|
|
# DemoPackage_Audio - a collection of audio files suitable for demonstrations
|
|
|
|
# DemoPackage_Data - a collection of data files suitable for demonstrations
|
|
|
|
# DemoPackage_Image - a collection of image files suitable for demonstrations
|
|
|
|
# DemoPackage_Video - a collection of video files suitable for demonstrations
|
2009-12-27 03:13:08 +03:00
|
|
|
# Development - more complete dev environment (including autotools)
|
|
|
|
# DevelopmentBase - basic development environment (gcc, headers, libs,...)
|
2011-02-26 18:33:48 +03:00
|
|
|
# DevelopmentJava - JamVM, a Java Virtual machine, GNU Classpath, ECJ
|
2009-12-27 03:13:08 +03:00
|
|
|
# DevelopmentMin - development headers, libs, tools, from sources only
|
2013-03-12 21:44:01 +04:00
|
|
|
# DevelopmentPowerPC - Cross compiling environment for PowerPC
|
2011-03-04 19:39:31 +03:00
|
|
|
# Doxygen - Generate documentation from source code
|
2012-09-14 07:25:40 +04:00
|
|
|
# Droid - Font family from Google's Android project
|
2009-12-27 03:13:08 +03:00
|
|
|
# Expat - XML parsing libraries
|
2010-09-08 12:01:53 +04:00
|
|
|
# Fastdep - fast dependency generator for C/C++ files
|
2010-04-14 01:47:04 +04:00
|
|
|
# friss - RSS/ATOM/... feeds reader
|
2010-05-06 09:48:41 +04:00
|
|
|
# GetText - a framework to help produce multi-lingual messages.
|
2009-12-27 03:13:08 +03:00
|
|
|
# Git - the distributed version control system
|
Updated optionalpackages for apr, apr-util, curl,subversion, git, mercurial, openssh, sqlite,
cdrtools, man, p7zip, tar, libxml2, and yasm.
2012-06-21 02:29:26 +04:00
|
|
|
# GitDoc - documentation for the distributed version control system
|
2010-06-15 23:33:25 +04:00
|
|
|
# GPerf - the perfect hash function generator.
|
2012-12-27 06:56:02 +04:00
|
|
|
# Grep - program to search for strings inside a file
|
2010-09-01 19:26:28 +04:00
|
|
|
# Groff - text formatter used for man pages
|
2012-07-24 01:51:33 +04:00
|
|
|
# HGrep - header grep tool
|
2010-07-16 01:23:45 +04:00
|
|
|
# ICU-devel - the headers and lib-links for ICU (for development)
|
2010-05-08 23:11:45 +04:00
|
|
|
# KeymapSwitcher - Easy to use keymap switcher
|
2012-07-24 01:51:33 +04:00
|
|
|
# LGrep - Library Grep tool
|
2013-04-27 05:12:50 +04:00
|
|
|
# LibEdit - A BSD licensed replacement for GNU readline
|
2010-05-06 09:48:41 +04:00
|
|
|
# LibEvent - An event notification library
|
2009-12-27 03:13:08 +03:00
|
|
|
# LibIconv - text encoding conversion library
|
|
|
|
# LibLayout - GCC2 package needed by some BeOS apps to compile
|
2010-09-26 20:26:55 +04:00
|
|
|
# Libmng - mng support library
|
2013-04-03 23:04:55 +04:00
|
|
|
# LibSolv - package dependency solver library
|
2010-09-26 20:26:55 +04:00
|
|
|
# LibXML2 - the XML support library
|
2010-04-11 08:05:21 +04:00
|
|
|
# LibXSLT - xslt library and utility
|
2009-12-27 03:13:08 +03:00
|
|
|
# Links - the web browser
|
2010-10-29 20:20:25 +04:00
|
|
|
# Lua - the scripting language
|
2010-09-01 19:26:28 +04:00
|
|
|
# Man - standard commands to read man pages
|
2009-12-27 03:13:08 +03:00
|
|
|
# Mercurial - the distributed version control system
|
|
|
|
# Nano - the command line text editor
|
2012-09-14 07:09:01 +04:00
|
|
|
# Nanumfont - Korean monospace font
|
2013-04-25 05:38:32 +04:00
|
|
|
# NCurses - the new curses library
|
2009-12-27 03:13:08 +03:00
|
|
|
# Neon - support libraries used for example by SVN
|
2010-01-19 21:25:48 +03:00
|
|
|
# NetFS - the native networked file system components
|
2009-12-27 03:13:08 +03:00
|
|
|
# NetSurf - the web browser
|
|
|
|
# OCaml - the Objective Caml language
|
|
|
|
# OpenSound - additional audio driver package
|
|
|
|
# OpenSSH - the secure shell
|
|
|
|
# OpenSSL - secure sockets library
|
|
|
|
# P7zip - file archiving utility
|
2010-09-08 12:01:53 +04:00
|
|
|
# Paladin - a Haiku IDE
|
2009-12-27 03:13:08 +03:00
|
|
|
# PCRE - the (Perl-compatible) regex engine
|
|
|
|
# Pe - the powerful native Programmer's Editor
|
|
|
|
# Perl - the scripting language
|
|
|
|
# Python - the scripting language
|
2012-08-17 16:33:02 +04:00
|
|
|
# Puri - chess game
|
2013-05-03 17:47:11 +04:00
|
|
|
# Readline - the GNU Readline library
|
2009-12-27 03:13:08 +03:00
|
|
|
# Rsync - remote directory synchronization
|
2010-09-08 12:01:53 +04:00
|
|
|
# Ruby - the programming language
|
2010-03-12 21:03:57 +03:00
|
|
|
# Sed - the ultimate stream editor
|
2009-12-27 03:13:08 +03:00
|
|
|
# SQLite - the database implementation
|
|
|
|
# Subversion - the version control system
|
2013-03-12 21:44:01 +04:00
|
|
|
# System-sounds - a collection of system sounds
|
2010-10-29 17:00:19 +04:00
|
|
|
# TagLib - id3 tag library
|
2009-12-27 03:13:08 +03:00
|
|
|
# Tar - archiving utility
|
2010-06-16 19:20:59 +04:00
|
|
|
# TimGMSoundFont - a good quality General MIDI Sound Font
|
|
|
|
# Transmission - a fast, easy, and free BitTorrent Client
|
2013-01-22 12:16:38 +04:00
|
|
|
# UnRAR - utility to list, test and extract RAR archives
|
2009-12-27 03:13:08 +03:00
|
|
|
# UserlandFS - aids native file system development (like FUSE)
|
2010-05-08 23:11:45 +04:00
|
|
|
# Vim - Vi IMproved. Highly configurable text editor
|
2009-12-27 03:13:08 +03:00
|
|
|
# Vision - powerful native IRC client
|
2010-04-23 22:06:34 +04:00
|
|
|
# WebPositive - native, WebKit-based web browser
|
2012-02-19 13:26:10 +04:00
|
|
|
# WebPositiveBookmarks - bookmarks for WebPositive
|
2009-12-27 03:13:08 +03:00
|
|
|
# Welcome - introductory documentation to Haiku
|
2010-03-02 00:44:08 +03:00
|
|
|
# WifiFirmwareScriptData - data files needed by install-wifi-firmwares.sh
|
2009-12-27 03:13:08 +03:00
|
|
|
# WonderBrush - native graphics application
|
2011-09-28 04:33:45 +04:00
|
|
|
# wpa_supplicant - a WPA Supplicant with support for WPA and WPA2
|
|
|
|
# WQY-MicroHei - Chinese font
|
2010-04-21 01:18:16 +04:00
|
|
|
# XZ-Utils - file archiving utility
|
2009-12-27 03:13:08 +03:00
|
|
|
# Yasm - the assembler utility
|
2013-05-06 06:37:18 +04:00
|
|
|
# Zlib - the zlib library
|
|
|
|
# Zlib-devel - the zlib library development files
|
2008-03-31 00:01:25 +04:00
|
|
|
|
2009-07-07 14:30:09 +04:00
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2011-06-20 00:34:39 +04:00
|
|
|
local hpkgBaseURL = http://haiku-files.org/files/hpkg ;
|
2010-11-21 09:28:57 +03:00
|
|
|
local baseSourceURL = http://haiku-files.org/files/sources ;
|
2008-03-31 00:01:25 +04:00
|
|
|
|
2010-02-01 20:04:49 +03:00
|
|
|
# ABI-compliance-checker
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded ABI-compliance-checker ] {
|
2011-06-16 11:00:06 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) < 4 {
|
2010-02-01 20:04:49 +03:00
|
|
|
Echo "No optional package ABI-compliance-checker for gcc2" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-16 16:39:31 +04:00
|
|
|
$(baseURL)/ABI-compliance-checker-1.12-noarch-gcc4-2010-02-01.zip ;
|
2010-02-01 20:04:49 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-05-14 02:15:45 +04:00
|
|
|
# APR
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded APR ] {
|
2012-12-14 21:20:03 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/apr-1.4.6-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-12-14 21:20:03 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/apr-1.4.6-6-x86_gcc2.hpkg ;
|
2012-12-14 21:20:03 +04:00
|
|
|
}
|
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2011-06-16 11:00:06 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/apr-1.4.6-x86_64-2012-12-08.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2008-05-14 02:15:45 +04:00
|
|
|
} else {
|
2012-12-14 21:20:03 +04:00
|
|
|
Echo "No optional package APR available for $(TARGET_ARCH)" ;
|
2008-05-14 02:15:45 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-05-16 00:47:42 +04:00
|
|
|
# APR-util
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded APR-util ] {
|
2012-12-14 21:20:03 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/apr-util-1.4.1-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-12-14 21:20:03 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/apr_util-1.4.1-2-x86_gcc2.hpkg ;
|
2012-12-14 21:20:03 +04:00
|
|
|
}
|
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2011-06-16 11:00:06 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/apr-util-1.4.1-x86_64-2012-12-08.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2008-05-16 00:47:42 +04:00
|
|
|
} else {
|
2012-12-14 21:20:03 +04:00
|
|
|
Echo "No optional package APR-util available for $(TARGET_ARCH)" ;
|
2008-05-16 00:47:42 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-10-30 11:19:02 +04:00
|
|
|
# ArmyKnife
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded ArmyKnife ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package ArmyKnife available for $(TARGET_ARCH)" ;
|
2011-06-16 11:00:06 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2010-10-30 11:19:02 +04:00
|
|
|
Echo "No optional package ArmyKnife for gcc4" ;
|
|
|
|
} else {
|
2011-06-16 11:00:06 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/armyknife-63-r1a4-x86-gcc2-2012-08-30.zip ;
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2010-10-30 11:19:02 +04:00
|
|
|
: /boot/apps/ArmyKnife/ArmyKnife ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-16 06:34:38 +04:00
|
|
|
# Bazaar
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Bazaar ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
2011-03-01 06:16:09 +03:00
|
|
|
Echo "No optional package Bazaar available for $(TARGET_ARCH)" ;
|
2010-09-19 03:43:48 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/bzr-2.6b1-r1a4-x86-gcc4-2012-08-30.zip ;
|
2010-09-16 06:34:38 +04:00
|
|
|
} else {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/bzr-2.5.1-r1a4-x86-gcc2-2012-08-27.zip ;
|
2010-09-16 06:34:38 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-03-14 10:19:45 +03:00
|
|
|
# BeAE
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeAE ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package BeAE available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2011-03-06 18:38:20 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-06-16 11:00:06 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/beae-22-r1a4-x86-gcc4-2012-08-30.zip ;
|
2011-03-06 18:38:20 +03:00
|
|
|
} else {
|
2011-05-22 10:11:12 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/beae-22-r1a4-x86-gcc2-2012-08-27.zip ;
|
2011-03-06 18:38:20 +03:00
|
|
|
}
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2010-03-14 10:19:45 +03:00
|
|
|
: /boot/apps/BeAE/BeAE ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-05-29 14:22:59 +04:00
|
|
|
# Beam
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Beam ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Beam available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2012-08-13 00:01:15 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/beam-1.2alpha-r1a4-x86-gcc4-2012-09-12.zip ;
|
2012-08-13 00:01:15 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/beam-1.2alpha-r1a4-x86-gcc2-2012-08-29.zip ;
|
2012-08-13 00:01:15 +04:00
|
|
|
}
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2010-04-29 16:23:30 +04:00
|
|
|
: /boot/apps/Beam/Beam ;
|
2008-05-29 14:22:59 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-08-13 00:01:15 +04:00
|
|
|
# bebook
|
2008-10-28 05:44:39 +03:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeBook ] {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 01:50:46 +04:00
|
|
|
$(hpkgBaseURL)/be_book-20081026-1-any.hpkg
|
2013-04-29 18:15:39 +04:00
|
|
|
: system ;
|
2008-10-28 05:44:39 +03:00
|
|
|
AddSymlinkToHaikuImage home Desktop
|
2013-04-29 01:50:46 +04:00
|
|
|
: /boot/system/documentation/BeBook/index.html
|
2011-06-16 11:00:06 +04:00
|
|
|
: BeBook ;
|
2008-10-28 05:44:39 +03:00
|
|
|
}
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-10-17 01:31:17 +04:00
|
|
|
# BeHappy
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeHappy ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package BeHappy available for $(TARGET_ARCH)" ;
|
2011-06-16 11:00:06 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2008-10-17 01:31:17 +04:00
|
|
|
Echo "No optional package BeHappy available for gcc4" ;
|
|
|
|
} else {
|
2011-06-08 21:39:46 +04:00
|
|
|
Echo "No optional package BeHappy available for gcc2" ;
|
2008-10-17 01:31:17 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-04-05 12:57:29 +04:00
|
|
|
# BeOSCompatibility
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeOSCompatibility ] {
|
2009-04-21 00:49:09 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package BeOSCompatibility available for $(TARGET_ARCH)" ;
|
2011-06-16 11:00:06 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2009-04-21 00:49:09 +04:00
|
|
|
Echo "No optional package BeOSCompatibility available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
Echo "Warning: Adding BeOS compatibility symlinks. This will go away. Please fix your apps!" ;
|
|
|
|
AddSymlinkToHaikuImage beos : ../system/apps ;
|
|
|
|
AddSymlinkToHaikuImage beos : ../system/bin ;
|
2011-06-16 11:00:06 +04:00
|
|
|
AddSymlinkToHaikuImage beos
|
|
|
|
: ../system/documentation ;
|
|
|
|
AddSymlinkToHaikuImage beos : ../common/settings/etc ;
|
2009-04-21 00:49:09 +04:00
|
|
|
AddSymlinkToHaikuImage beos : ../system/preferences ;
|
|
|
|
AddSymlinkToHaikuImage beos : ../system ;
|
2010-02-05 17:18:20 +03:00
|
|
|
AddDirectoryToHaikuImage var ;
|
|
|
|
AddSymlinkToHaikuImage var : /boot/common/var/log ;
|
|
|
|
AddSymlinkToHaikuImage var : /boot/common/cache/tmp ;
|
2009-04-21 00:49:09 +04:00
|
|
|
}
|
2009-04-05 12:57:29 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-09-18 16:55:59 +04:00
|
|
|
# BePDF
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BePDF ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package BePDF available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2012-08-13 00:01:15 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/bepdf-1.1.1b4-x86-gcc4-2012-08-11.zip ;
|
2012-08-13 00:01:15 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/bepdf-1.1.1~beta5_130428-1-x86_gcc2.hpkg ;
|
2012-08-13 00:01:15 +04:00
|
|
|
}
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2008-09-18 16:55:59 +04:00
|
|
|
: /boot/apps/BePDF/BePDF ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-02-12 23:45:08 +03:00
|
|
|
# BeZillaBrowser
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeZillaBrowser ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package BeZillaBrowser available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2010-04-30 23:06:46 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/BeZillaBrowser-2.0.0.22pre-x86-gcc4-2012-09-21.zip ;
|
2010-04-30 23:06:46 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/bezillabrowser-2.0.0.22pre_2010_05_02-1-x86_gcc2.hpkg ;
|
2010-04-30 23:06:46 +04:00
|
|
|
}
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2011-03-05 23:12:30 +03:00
|
|
|
: /boot/apps/BeZillaBrowser/BeZillaBrowser ;
|
2010-02-12 23:45:08 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-05-29 14:22:59 +04:00
|
|
|
# Bluetooth stack
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Bluetooth ] {
|
2008-06-01 01:01:05 +04:00
|
|
|
local bluetoothDrivers = h2generic ;
|
|
|
|
AddDriversToHaikuImage bluetooth : $(bluetoothDrivers) ;
|
2009-04-03 13:02:44 +04:00
|
|
|
AddFilesToHaikuImage system servers : bluetooth_server ;
|
|
|
|
AddFilesToHaikuImage system lib : libbluetooth.so ;
|
2011-06-16 11:00:06 +04:00
|
|
|
AddFilesToHaikuImage
|
|
|
|
system add-ons kernel network protocols : l2cap ;
|
|
|
|
AddFilesToHaikuImage system add-ons kernel bluetooth
|
|
|
|
: btCoreData hci ;
|
2009-04-03 13:02:44 +04:00
|
|
|
AddFilesToHaikuImage system preferences : Bluetooth ;
|
|
|
|
AddFilesToHaikuImage system bin : bt_dev_info bt_discovery ;
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Preferences
|
2009-04-03 13:02:44 +04:00
|
|
|
: /boot/system/preferences/Bluetooth ;
|
2009-05-27 05:12:34 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ]
|
|
|
|
&& $(HAIKU_GCC_VERSION[1]) in 2 4 {
|
|
|
|
local arch = $(TARGET_ARCH) ;
|
|
|
|
local abi = gcc$(HAIKU_GCC_VERSION[1]) ;
|
2011-06-16 11:00:06 +04:00
|
|
|
AddSymlinkToHaikuImage system develop lib
|
|
|
|
: /system/lib libbluetooth.so ;
|
2008-05-29 14:22:59 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-16 06:34:38 +04:00
|
|
|
# BurnItNow
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BurnItNow ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package BurnItNow available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2011-03-06 18:38:20 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-05-22 10:11:12 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/burnitnow-39-r1a4-x86-gcc4-2012-08-30.zip ;
|
2011-03-06 18:38:20 +03:00
|
|
|
} else {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/burnitnow-39-r1a4-x86-gcc2-2012-08-27.zip ;
|
2011-03-06 18:38:20 +03:00
|
|
|
}
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2010-09-16 06:34:38 +04:00
|
|
|
: /boot/apps/BurnItNow/BurnItNow ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-11-26 15:53:30 +03:00
|
|
|
# Bzip
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Bzip ] {
|
2012-08-16 23:32:29 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/bzip2-1.0.6-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-08-16 23:32:29 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/bzip2-1.0.6-2-x86_gcc2.hpkg ;
|
2012-08-16 23:32:29 +04:00
|
|
|
}
|
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2011-05-13 10:59:13 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/bzip2-1.0.6-x86_64-2012-08-16.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2009-11-26 15:53:30 +03:00
|
|
|
} else {
|
2012-08-16 23:32:29 +04:00
|
|
|
Echo "No optional package Bzip available for $(TARGET_ARCH)" ;
|
2009-11-26 15:53:30 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-04-28 21:56:49 +04:00
|
|
|
# CARootCertificates
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded CARootCertificates ] {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/cert-2012-07-04.zip
|
2013-04-28 21:56:49 +04:00
|
|
|
: common data ssl ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/ca_root_certificates-121229-1-any.hpkg ;
|
2013-04-28 21:56:49 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-05-20 18:31:11 +04:00
|
|
|
# Caya
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Caya ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Caya available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2013-05-05 17:02:57 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2012-05-20 18:31:11 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/caya-279-r1a4-x86-gcc4-2012-10-02.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-05-20 18:31:11 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/caya-gpl-protocols-36-r1a4-x86-gcc4-2012-10-01.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-05-20 18:31:11 +04:00
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/Caya/Caya ;
|
|
|
|
} else {
|
|
|
|
Echo "No optional package Caya available for $(TARGET_ARCH)-gcc2" ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-09-08 12:01:53 +04:00
|
|
|
# CCache
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded CCache ] {
|
2012-12-14 21:20:03 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/ccache-3.0.1-r1a4-x86-gcc4-2012-08-30.zip ;
|
2012-12-14 21:20:03 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/ccache-3.0.1-r1a4-x86-gcc2-2012-08-27.zip ;
|
2012-12-14 21:20:03 +04:00
|
|
|
}
|
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2011-05-13 19:20:53 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/ccache-3.0.1-x86_64-2012-12-08.zip ;
|
2010-09-08 12:01:53 +04:00
|
|
|
} else {
|
2012-12-14 21:20:03 +04:00
|
|
|
Echo "No optional package CCache available for $(TARGET_ARCH)" ;
|
2010-09-08 12:01:53 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-05-30 05:26:28 +04:00
|
|
|
# CDRecord
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded CDRecord ] {
|
2012-12-22 22:43:25 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/cdrtools-3.01a07-r1a4-x86-gcc4-2012-08-30.zip ;
|
2012-12-22 22:43:25 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/cdrtools-3.01~a07-2-x86_gcc2.hpkg ;
|
2012-12-22 22:43:25 +04:00
|
|
|
}
|
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2011-05-22 10:39:01 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/cdrtools-3.01a07-x86_64-2012-12-17.zip ;
|
2009-05-30 05:26:28 +04:00
|
|
|
} else {
|
2012-12-22 22:43:25 +04:00
|
|
|
Echo "No optional package CDRecord available for $(TARGET_ARCH)" ;
|
2009-05-30 05:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-03-10 01:06:08 +04:00
|
|
|
# Clang
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Clang ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Clang available for $(TARGET_ARCH)" ;
|
2013-05-05 17:02:57 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) < 4 {
|
2012-03-10 01:06:08 +04:00
|
|
|
Echo "No optional package Clang available for GCC2" ;
|
2009-05-30 05:26:28 +04:00
|
|
|
} else {
|
2011-05-22 10:39:01 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/clang-3.0-x86-gcc4-2012-03-09.zip ;
|
2009-05-30 05:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-08-04 20:25:24 +04:00
|
|
|
# Clockwerk
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Clockwerk ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Clockwerk available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2011-03-06 18:38:20 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/Clockwerk-0.0.2-x86-gcc4-2012-02-25.zip ;
|
2011-03-06 18:38:20 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/Clockwerk-0.0.2-x86-gcc2-2012-03-04.zip ;
|
2011-03-06 18:38:20 +03:00
|
|
|
}
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2009-08-04 20:25:24 +04:00
|
|
|
: /boot/apps/Clockwerk/Clockwerk ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-06-15 04:13:37 +04:00
|
|
|
# CLucene
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded CLucene ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package CLucene available for $(TARGET_ARCH)" ;
|
2011-06-16 11:00:06 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) < 4 {
|
2009-06-15 04:13:37 +04:00
|
|
|
Echo "No optional package CLucene available for GCC2" ;
|
|
|
|
} else {
|
2009-08-04 20:25:24 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-16 16:39:31 +04:00
|
|
|
$(baseURL)/clucene-0.9.21-x86-gcc4-haiku-2009-08-11.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2009-06-15 04:13:37 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-10-28 05:26:36 +03:00
|
|
|
# CMake
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded CMake ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package CMake available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2010-10-31 03:40:25 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/cmake-2.8.5-r1a4-x86-gcc4-2012-08-28.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-10-31 03:40:25 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/cmake-2.8.5-3-x86_gcc2.hpkg ;
|
2010-10-31 03:40:25 +03:00
|
|
|
}
|
2009-10-28 05:26:36 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-05-02 07:22:26 +04:00
|
|
|
# Colors!
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Colors! ] {
|
2009-09-01 15:42:09 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
2012-05-02 07:22:26 +04:00
|
|
|
Echo "No optional package Colors! available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/Colors\!-2.1-r1a4-x86-gcc4-2012-08-30.zip ;
|
2012-05-02 07:22:26 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/Colors\!-2.1-r1a4-x86-gcc2-2012-08-30.zip ;
|
2012-05-02 07:22:26 +04:00
|
|
|
}
|
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
|
|
: /boot/apps/Colors\!/Colors\! ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-01-24 02:47:46 +04:00
|
|
|
# Ctags
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Ctags ] {
|
2012-12-08 16:49:15 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2012-01-24 02:47:46 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/ctags-5.8-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-01-24 02:47:46 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/ctags-5.8-2-x86_gcc2.hpkg ;
|
2012-01-24 02:47:46 +04:00
|
|
|
}
|
2012-12-08 16:49:15 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/ctags-5.8-x86_64-2012-12-08.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2009-09-01 15:42:09 +04:00
|
|
|
} else {
|
2012-12-08 16:49:15 +04:00
|
|
|
Echo "No optional package Ctags available for $(TARGET_ARCH)" ;
|
2012-01-24 02:47:46 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-09-01 15:42:09 +04:00
|
|
|
# Curl
|
2009-09-03 01:10:19 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded Curl ] {
|
2012-12-22 22:43:25 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/curl-7.26.0-r1a4-x86-gcc4-2012-08-29.zip ;
|
2012-12-22 22:43:25 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/curl-7.26.0-3-x86_gcc2.hpkg ;
|
2012-12-22 22:43:25 +04:00
|
|
|
}
|
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/curl-7.28.1-x86_64-2012-12-18.zip ;
|
2009-09-01 15:42:09 +04:00
|
|
|
} else {
|
2012-12-22 22:43:25 +04:00
|
|
|
Echo "No optional package Curl available for $(TARGET_ARCH)" ;
|
2009-09-01 15:42:09 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-07-24 13:50:58 +04:00
|
|
|
# CVS
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded CVS ] {
|
2012-12-22 22:43:25 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/cvs-1.12.13.1-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-03 17:47:11 +04:00
|
|
|
$(hpkgBaseURL)/cvs-1.12.13.1-4-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2012-12-22 22:43:25 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/cvs-1.12.13.1-x86_64-2012-12-18.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-12-22 22:43:25 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package CVS available for $(TARGET_ARCH)" ;
|
2008-07-24 13:50:58 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-02-20 22:48:44 +04:00
|
|
|
# DemoPackage_Audio
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded DemoPackage_Audio ] {
|
2013-05-05 17:02:57 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(baseURL)/DemoPackage_Audio-0.1-2012-02-19.zip ;
|
2012-02-20 22:48:44 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# DemoPackage_Data
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded DemoPackage_Data ] {
|
2013-05-05 17:02:57 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(baseURL)/DemoPackage_Data-0.1-2012-02-19.zip ;
|
2012-02-20 22:48:44 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# DemoPackage_Image
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded DemoPackage_Image ] {
|
2013-05-05 17:02:57 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(baseURL)/DemoPackage_Image-0.2-2012-09-22.zip ;
|
2012-02-20 22:48:44 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# DemoPackage_Video
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded DemoPackage_Video ] {
|
2013-05-05 17:02:57 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(baseURL)/DemoPackage_Video-0.1-2012-02-19.zip ;
|
2012-02-20 22:48:44 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# Development
|
2012-08-17 16:03:31 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded Development ] {
|
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
|
|
: /boot/system/apps/Debugger : Debugger ;
|
|
|
|
# autotools
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/autoconf-2.69-x86-gcc4-2013-02-16.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-08-17 16:03:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/automake-1.13.1-x86-gcc4-2013-02-16.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-08-17 16:03:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libtool-2.4-r1a4-x86-gcc4-2012-08-28.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-08-17 16:03:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/texinfo-4.13a-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-08-17 16:03:31 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/autoconf-2.69-3-x86_gcc2.hpkg ;
|
2012-08-17 16:03:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/automake-1.13.1-3-x86_gcc2.hpkg ;
|
2012-08-17 16:03:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/libtool-2.4-7-x86_gcc2.hpkg ;
|
2012-08-17 16:03:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/texinfo-4.13a-6-x86_gcc2.hpkg ;
|
2012-08-17 16:03:31 +04:00
|
|
|
}
|
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2012-12-19 23:54:20 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
|
|
: /boot/system/apps/Debugger : Debugger ;
|
2011-05-22 10:39:01 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/autoconf-2.69-x86_64-2013-02-16.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2011-05-22 10:39:01 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/automake-1.13.1-x86_64-2013-02-16.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2011-05-22 10:39:01 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libtool-2.4.2-x86_64-2012-08-17.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2011-05-22 10:39:01 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/texinfo-4.13a-x86_64-2012-08-17.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2009-04-19 01:26:26 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# DevelopmentBase
|
2012-08-16 23:32:29 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentBase ] {
|
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
# gcc and binutils
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 2 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/binutils-2.17_130421-1-x86_gcc2.hpkg ;
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(hpkgBaseURL)/gcc-2.95.3_130425-1-x86_gcc2.hpkg ;
|
2012-08-16 23:32:29 +04:00
|
|
|
}
|
2009-05-27 05:12:34 +04:00
|
|
|
|
2012-08-16 23:32:29 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 4 {
|
2013-05-05 17:02:57 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(baseURL)/gcc-4.6.3-r1a4-x86-gcc4-2012-11-01.zip ;
|
2012-08-16 23:32:29 +04:00
|
|
|
}
|
2009-04-19 01:26:26 +04:00
|
|
|
|
2012-08-16 23:32:29 +04:00
|
|
|
# other commonly used tools
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/bison-2.4.3-r1a4-x86-gcc4-2012-08-28.zip ;
|
2012-08-16 23:32:29 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/m4-1.4.16-r1a4-x86-gcc4-2012-08-28.zip ;
|
2012-08-16 23:32:29 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/flex-2.5.35-r1a4-x86-gcc4-2012-08-28.zip ;
|
2012-08-16 23:32:29 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/jam-2.5-r1a4-x86-gcc4-2012-08-28.zip ;
|
2012-08-16 23:32:29 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/mkdepend-1.7-r1a4-x86-gcc4-2012-08-28.zip ;
|
2012-08-16 23:32:29 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/make-3.82-r1a4-x86-gcc4-2012-08-28.zip ;
|
2012-08-16 23:32:29 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/bison-2.4.3-4-x86_gcc2.hpkg ;
|
2012-08-16 23:32:29 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/m4-1.4.16-4-x86_gcc2.hpkg ;
|
2012-08-16 23:32:29 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/flex-2.5.35-5-x86_gcc2.hpkg ;
|
2012-08-16 23:32:29 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/jam-2.5_121012-2-x86_gcc2.hpkg ;
|
2012-08-16 23:32:29 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/mkdepend-1.7-2-x86_gcc2.hpkg ;
|
2012-08-16 23:32:29 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/make-3.82-4-x86_gcc2.hpkg ;
|
2012-08-16 23:32:29 +04:00
|
|
|
}
|
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
# gcc and binutils
|
2011-05-22 10:39:01 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/gcc-4.6.2-x86_64-2012-08-16.zip ;
|
2009-05-27 05:12:34 +04:00
|
|
|
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/bison-2.5-x86_64-2012-08-12.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/m4-1.4.16-x86_64-2012-08-12.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/flex-2.5.35-x86_64-2012-08-18.zip ;
|
2011-05-22 10:39:01 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/jam-2.5-x86_64-2012-08-12.zip ;
|
2011-05-22 10:39:01 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/mkdepend-1.7-x86_64-2012-08-14.zip ;
|
2011-05-22 10:39:01 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/make-3.82-x86_64-2012-08-11.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2009-04-19 01:26:26 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-02-26 18:33:48 +03:00
|
|
|
# DevelopmentJava
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentJava ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package DevelopmentJava available for $(TARGET_ARCH)" ;
|
2013-05-05 17:02:57 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) < 4 {
|
2011-06-06 21:07:40 +04:00
|
|
|
Echo "No optional package DevelopmentJava available for gcc2" ;
|
|
|
|
} else {
|
2011-02-26 18:33:48 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-16 16:39:31 +04:00
|
|
|
$(baseURL)/gnu-classpath-0.98-r1a3-x86-gcc4-2011-06-08.zip ;
|
2011-02-26 18:33:48 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-16 16:39:31 +04:00
|
|
|
$(baseURL)/jamvm-1.5.4-r1a3-x86-gcc4-2011-06-08.zip ;
|
2011-06-16 11:00:06 +04:00
|
|
|
AddSymlinkToHaikuImage common bin
|
|
|
|
: /boot/common/bin/jamvm : java ;
|
2011-02-26 18:33:48 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-16 16:39:31 +04:00
|
|
|
$(baseURL)/ecj-3.6.2-haiku-2011-06-08.zip ;
|
2011-02-26 18:33:48 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-04-19 01:26:26 +04:00
|
|
|
# DevelopmentMin
|
2012-08-16 23:32:29 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ]
|
|
|
|
&& ( $(TARGET_ARCH) = x86 || $(TARGET_ARCH) = x86_64 ) {
|
2009-05-27 05:12:34 +04:00
|
|
|
if ! ( $(HAIKU_GCC_VERSION[1]) in 2 4 ) {
|
|
|
|
Exit "Optional package DevelopmentMin: Unsupported GCC version:"
|
|
|
|
$(HAIKU_GCC_VERSION[1]) ;
|
|
|
|
}
|
|
|
|
|
2013-04-29 18:13:03 +04:00
|
|
|
AddPackageFilesToHaikuImage system : haiku_devel.hpkg ;
|
|
|
|
AddPackageFilesToHaikuImage common : makefile_engine.hpkg ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-03-18 18:23:26 +04:00
|
|
|
# DevelopmentPowerPC
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentPowerPC ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package DevelopmentPowerPC available for $(TARGET_ARCH)" ;
|
2013-05-05 17:02:57 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) < 4 {
|
2012-03-18 18:23:26 +04:00
|
|
|
Echo "No optional package DevelopmentPowerPC available for gcc2" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/gcc-ppc-4.6.2-x86-gcc4-2012-03-17.zip ;
|
2012-03-18 18:23:26 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/haiku-devlibs-ppc-gcc4-2012-03-18.zip ;
|
2012-03-18 18:23:26 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-11-02 17:19:39 +04:00
|
|
|
# DMIDecode
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded DMIDecode ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package DMIDecode available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/dmidecode-2.11-r1a4-x86-gcc4-2012-09-04.zip ;
|
2011-11-02 17:19:39 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/dmidecode-2.11-r1a4-x86-gcc2-2012-09-03.zip ;
|
2011-11-02 17:19:39 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-03-04 19:39:31 +03:00
|
|
|
# Doxygen
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Doxygen ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Doxygen available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/doxygen-1.6.3-r1a4-x86-gcc4-2012-09-04.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2011-03-04 19:39:31 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-03 17:47:11 +04:00
|
|
|
$(hpkgBaseURL)/doxygen-1.6.3-2-x86_gcc2.hpkg ;
|
2011-03-04 19:39:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-09-14 07:25:40 +04:00
|
|
|
# Droid
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Droid ] {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/droid-113-r1a4-x86-gcc2-2012-08-27.zip ;
|
2012-09-14 07:25:40 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-09-01 15:42:09 +04:00
|
|
|
# Expat
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Expat ] {
|
2012-12-08 16:49:15 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/expat-2.0.1-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-01 00:50:18 +04:00
|
|
|
$(hpkgBaseURL)/expat-2.0.1-5-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2012-12-08 16:49:15 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/expat-2.0.1-x86_64-2012-12-08.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-12-08 16:49:15 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package Expat available for $(TARGET_ARCH)" ;
|
2009-09-01 15:42:09 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-08 12:01:53 +04:00
|
|
|
# Fastdep
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Fastdep ] {
|
2012-12-14 21:20:03 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/fastdep-0.16-r1a4-x86-gcc4-2012-08-30.zip ;
|
2012-12-14 21:20:03 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/fastdep-0.16-r1a4-x86-gcc2-2012-08-28.zip ;
|
2012-12-14 21:20:03 +04:00
|
|
|
}
|
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2011-05-13 19:24:55 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/fastdep-0.16-x86_64-2012-12-08.zip ;
|
2010-09-08 12:01:53 +04:00
|
|
|
} else {
|
2012-12-14 21:20:03 +04:00
|
|
|
Echo "No optional package Fastdep available for $(TARGET_ARCH)" ;
|
2010-09-08 12:01:53 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-04-14 01:47:04 +04:00
|
|
|
# friss
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded friss ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package friss available for $(TARGET_ARCH)" ;
|
2010-05-26 21:24:39 +04:00
|
|
|
} else {
|
2011-06-02 00:44:07 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-06-16 11:00:06 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/friss-33-r1a4-x86-gcc4-2012-11-06.zip ;
|
2011-06-02 00:44:07 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/friss-33-r1a4-x86-gcc2-2012-11-06.zip ;
|
2011-06-02 00:44:07 +04:00
|
|
|
}
|
2011-07-11 15:50:05 +04:00
|
|
|
# AddSymlinkToHaikuImage home config settings deskbar Desktop\ applets
|
2011-06-02 20:08:15 +04:00
|
|
|
# : /boot/apps/FRiSS/FRiSS ;
|
2010-04-14 01:47:04 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-05-06 09:48:41 +04:00
|
|
|
# GetText
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded GetText ] {
|
2012-08-17 16:03:31 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-05-06 09:48:41 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2010-05-07 01:32:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/gettext-0.18.1.1-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2011-03-06 16:11:24 +03:00
|
|
|
} else {
|
2010-05-07 01:32:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/gettext-0.18.1.1-3-x86_gcc2.hpkg ;
|
2010-05-06 09:48:41 +04:00
|
|
|
}
|
2012-08-17 16:03:31 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/gettext-0.18.1.1-x86_64-2012-08-17.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-08-17 16:03:31 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package GetText available for $(TARGET_ARCH)" ;
|
2010-05-06 09:48:41 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-09-01 15:42:09 +04:00
|
|
|
# Git
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Git ] {
|
2012-12-29 16:44:20 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2011-05-12 07:01:17 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/git-1.7.10.2-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2011-05-12 07:01:17 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/git-1.7.5-1-x86_gcc2.hpkg ;
|
2011-05-12 07:01:17 +04:00
|
|
|
}
|
2012-12-29 16:44:20 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/git-1.8.0-x86_64-2012-12-29.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-12-29 16:44:20 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package Git available for $(TARGET_ARCH)" ;
|
Updated optionalpackages for apr, apr-util, curl,subversion, git, mercurial, openssh, sqlite,
cdrtools, man, p7zip, tar, libxml2, and yasm.
2012-06-21 02:29:26 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# GitDoc
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded GitDoc ] {
|
2012-12-22 22:43:25 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
Updated optionalpackages for apr, apr-util, curl,subversion, git, mercurial, openssh, sqlite,
cdrtools, man, p7zip, tar, libxml2, and yasm.
2012-06-21 02:29:26 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/gitdoc-1.7.10.2-r1a4-x86-gcc4-2012-09-03.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
Updated optionalpackages for apr, apr-util, curl,subversion, git, mercurial, openssh, sqlite,
cdrtools, man, p7zip, tar, libxml2, and yasm.
2012-06-21 02:29:26 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/gitdoc-1.7.10.2-r1a4-x86-gcc2-2012-08-28.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2011-05-12 07:01:17 +04:00
|
|
|
}
|
2012-12-22 22:43:25 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/gitdoc-1.8.0-x86_64-2012-12-18.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-12-22 22:43:25 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package GitDoc available for $(TARGET_ARCH)" ;
|
2009-09-01 15:42:09 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-06-15 23:33:25 +04:00
|
|
|
# GPerf
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded GPerf ] {
|
2012-12-14 21:20:03 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-06-15 23:33:25 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/gperf-3.0.4-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-06-15 23:33:25 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/gperf-3.0.4-r1a4-x86-gcc2-2012-08-28.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-06-15 23:33:25 +04:00
|
|
|
}
|
2012-12-14 21:20:03 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/gperf-3.0.4-x86_64-2012-12-08.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-06-15 23:33:25 +04:00
|
|
|
} else {
|
2012-12-14 21:20:03 +04:00
|
|
|
Echo "No optional package GPerf available for $(TARGET_ARCH)" ;
|
2010-06-15 23:33:25 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-01 19:26:28 +04:00
|
|
|
# Groff
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Groff ] {
|
2012-12-14 21:20:03 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-06-15 23:33:25 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/groff-1.20.1-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-06-15 23:33:25 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/groff-1.20.1-1-x86_gcc2.hpkg ;
|
2010-06-15 23:33:25 +04:00
|
|
|
}
|
2012-12-14 21:20:03 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/groff-1.20.1-x86_64-2012-12-08.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-12-14 21:20:03 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package Groff available for $(TARGET_ARCH)" ;
|
2010-06-15 23:33:25 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-12-27 06:56:02 +04:00
|
|
|
# Grep
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Grep ] {
|
|
|
|
if $(TARGET_ARCH) = x86 {
|
2011-05-07 07:36:32 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/grep-2.14-x86-gcc4-2012-12-28.zip ;
|
2011-05-07 07:36:32 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/grep-2.14-2-x86_gcc2.hpkg ;
|
2011-05-07 07:36:32 +04:00
|
|
|
}
|
2012-12-27 06:56:02 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/grep-2.14-x86_64-2012-12-28.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-12-27 06:56:02 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package Grep available for $(TARGET_ARCH)" ;
|
|
|
|
}
|
|
|
|
}
|
2010-09-01 19:26:28 +04:00
|
|
|
|
2012-07-24 01:51:33 +04:00
|
|
|
# HGgrep
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded HGrep ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package HGrep available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/hgrep-1.0.1-x86-gcc2-2012-07-23.zip ;
|
2010-09-01 19:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-07-14 14:34:06 +04:00
|
|
|
# ICU
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded ICU ] {
|
2012-07-31 00:42:49 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-07-15 06:24:17 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 2 {
|
|
|
|
# unzip gcc2
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(hpkgBaseURL)/$(HAIKU_ICU_GCC_2_PACKAGE)
|
2013-04-29 18:15:39 +04:00
|
|
|
: system ;
|
2010-07-15 06:24:17 +04:00
|
|
|
} else {
|
|
|
|
# unzip gcc4
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(baseURL)/$(HAIKU_ICU_GCC_4_PACKAGE)
|
2010-07-15 06:24:17 +04:00
|
|
|
: system lib ;
|
|
|
|
}
|
2012-11-16 06:01:19 +04:00
|
|
|
} else if $(TARGET_ARCH) = arm {
|
2013-05-05 17:02:57 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-27 16:20:53 +04:00
|
|
|
: $(baseURL)/$(HAIKU_ICU_ARM_PACKAGE)
|
2012-11-16 06:01:19 +04:00
|
|
|
: system lib ;
|
2012-07-31 00:42:49 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2013-05-05 17:02:57 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2012-07-31 00:42:49 +04:00
|
|
|
: $(baseURL)/$(HAIKU_ICU_X86_64_PACKAGE)
|
|
|
|
: system lib ;
|
|
|
|
} else {
|
|
|
|
Echo "No optional package ICU available for $(TARGET_ARCH)" ;
|
2010-07-14 14:34:06 +04:00
|
|
|
}
|
2013-05-06 00:11:55 +04:00
|
|
|
}
|
2010-07-14 14:34:06 +04:00
|
|
|
|
|
|
|
|
2010-07-16 01:23:45 +04:00
|
|
|
# ICU-devel
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded ICU-devel ] {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(hpkgBaseURL)/$(HAIKU_ICU_DEVEL_PACKAGE)
|
2013-04-29 18:15:39 +04:00
|
|
|
: system ;
|
2010-07-16 01:23:45 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-04-07 00:23:18 +04:00
|
|
|
# KeymapSwitcher
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded KeymapSwitcher ] {
|
2013-01-22 12:16:38 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2011-03-06 18:38:20 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/KeymapSwitcher-1.2.7-x86-gcc4-2013-01-08.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : !stripDebugSymbols ;
|
2011-03-06 18:38:20 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-02 19:18:12 +04:00
|
|
|
$(hpkgBaseURL)/keymapswitcher-1.2.7.9-2-x86_gcc2.hpkg ;
|
2011-03-06 18:38:20 +03:00
|
|
|
}
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Preferences
|
2009-04-07 00:23:18 +04:00
|
|
|
: /boot/common/bin/KeymapSwitcher ;
|
2013-01-22 12:16:38 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/KeymapSwitcher-1.2.7-x86_64-2013-01-08.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2013-01-22 12:16:38 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Preferences
|
|
|
|
: /boot/common/bin/KeymapSwitcher ;
|
|
|
|
} else {
|
|
|
|
Echo "No optional package KeymapSwitcher available for $(TARGET_ARCH)" ;
|
2009-04-07 00:23:18 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-07-24 01:51:33 +04:00
|
|
|
# LGrep
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LGrep ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package LGrep available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/lgrep-1.0-x86-gcc2-2012-07-23.zip ;
|
2009-04-07 00:23:18 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-04-27 05:12:50 +04:00
|
|
|
# LibEdit
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LibEdit ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package LibEdit available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
Echo "No optional package LibEdit available for gcc 4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/libedit-20120601_3.0-2-x86_gcc2.hpkg ;
|
2013-04-27 05:12:50 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-05-06 09:48:41 +04:00
|
|
|
# LibEvent
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LibEvent ] {
|
2012-12-14 21:20:03 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-05-06 09:48:41 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2010-05-07 01:32:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libevent-2.0.10-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-10-31 07:32:48 +03:00
|
|
|
} else {
|
2010-05-07 01:32:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libevent-2.0.10-r1a4-x86-gcc2-2012-08-28.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-05-06 09:48:41 +04:00
|
|
|
}
|
2012-12-14 21:20:03 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libevent-2.0.10-x86_64-2012-12-08.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-12-14 21:20:03 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package LibEvent available for $(TARGET_ARCH)" ;
|
2010-05-06 09:48:41 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-05-30 05:26:28 +04:00
|
|
|
# LibIconv
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LibIconv ] {
|
2012-12-22 22:43:25 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libiconv-1.13.1-r1a4-x86-gcc4-2012-08-30.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/libiconv-1.13.1-4-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2012-12-22 22:43:25 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libiconv-1.13.1-x86_64-2012-12-18.zip ;
|
2012-12-22 22:43:25 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package LibIconv available for $(TARGET_ARCH)" ;
|
2009-05-30 05:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-03-09 02:35:08 +03:00
|
|
|
# LibLayout library
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LibLayout ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package LibLayout available for $(TARGET_ARCH)" ;
|
2011-06-16 11:00:06 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2013-05-05 17:02:57 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2012-09-05 08:19:22 +04:00
|
|
|
: $(baseURL)/liblayout-1.4.1-r1a4-x86-gcc4-2012-08-30.zip ;
|
2009-03-09 02:35:08 +03:00
|
|
|
} else {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(baseURL)/liblayout-1.4.0-gcc2-2009-03-08.zip ;
|
2009-03-09 02:35:08 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-26 20:26:55 +04:00
|
|
|
# Libmng library
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Libmng ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Libmng available for $(TARGET_ARCH)" ;
|
2010-11-01 08:49:49 +03:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-06-16 11:00:06 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/lib/libmng-1.0.10-r1a4-x86-gcc4-2012-09-02.zip ;
|
2010-09-26 20:26:55 +04:00
|
|
|
} else {
|
2011-06-16 11:00:06 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/lib/libmng-1.0.10-r1a4-x86-gcc2-2012-08-28.zip ;
|
2010-09-26 20:26:55 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-04-03 23:04:55 +04:00
|
|
|
# LibSolv
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LibSolv ] {
|
|
|
|
if ! $(HAIKU_LIBSOLV_PACKAGE) {
|
|
|
|
Echo "No optional package LibSolv available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(hpkgBaseURL)/$(HAIKU_LIBSOLV_PACKAGE)
|
2013-04-29 18:15:39 +04:00
|
|
|
: system ;
|
2013-04-03 23:04:55 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-05-30 05:26:28 +04:00
|
|
|
# LibXML2
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LibXML2 ] {
|
2012-12-08 16:49:15 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libxml2-2.8.0-r1a4-x86-gcc4-2012-08-28.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-01 00:50:18 +04:00
|
|
|
$(hpkgBaseURL)/libxml2-2.8.0-2-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2012-12-08 16:49:15 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libxml2-2.8.0-x86_64-2012-12-08.zip ;
|
2012-12-08 16:49:15 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package LibXML2 available for $(TARGET_ARCH)" ;
|
2010-04-11 08:05:21 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# LibXSLT
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded LibXSLT ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package LibXSLT available for $(TARGET_ARCH)" ;
|
2011-05-25 00:36:19 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libxslt-1.1.26-r1a4-x86-gcc4-2012-08-29.zip ;
|
2010-04-11 08:05:21 +04:00
|
|
|
} else {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libxslt-1.1.26-r1a4-x86-gcc2-2012-08-28.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2009-05-30 05:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# Links web browser
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Links ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Links available for $(TARGET_ARCH)" ;
|
2011-06-16 11:00:06 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2012-09-11 11:09:53 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/links-2.3pre2-r1a4-x86-gcc4-2012-09-09.zip ;
|
2012-09-11 11:09:53 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
|
|
: /boot/home/config/bin/links ;
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/links-2.3pre2-r1a4-x86-gcc2-2012-08-30.zip ;
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2008-03-29 18:18:35 +03:00
|
|
|
: /boot/home/config/bin/links ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-10-29 20:20:25 +04:00
|
|
|
# Lua
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Lua ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Lua available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2010-10-31 03:40:25 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/lua-5.1.4-3-r1a4-x86-gcc4-2012-09-01.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-10-31 03:40:25 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/lua-5.1.4-3-r1a4-x86-gcc2-2012-09-01.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-10-31 03:40:25 +03:00
|
|
|
}
|
2010-10-29 20:20:25 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-01 19:26:28 +04:00
|
|
|
# Man
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Man ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Man available for $(TARGET_ARCH)" ;
|
2011-05-13 19:40:53 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/man-1.6g-r1a4-x86-gcc4-2012-08-30.zip ;
|
2010-09-01 19:26:28 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/man-1.6g-1-x86_gcc2.hpkg ;
|
2010-09-01 19:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-03-15 19:11:47 +03:00
|
|
|
# MandatoryPackages
|
2010-04-20 22:44:54 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded MandatoryPackages ] {
|
2010-03-15 23:38:13 +03:00
|
|
|
# Pseudo package for grouping packages, which are added to all images.
|
2010-03-15 19:11:47 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-09-01 15:42:09 +04:00
|
|
|
# Mercurial
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Mercurial ] {
|
2012-12-22 22:43:25 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/mercurial-2.2.2-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-04 03:02:44 +04:00
|
|
|
$(hpkgBaseURL)/mercurial-2.2.2-2-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2012-12-22 22:43:25 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/mercurial-2.4-x86_64-2012-12-18.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-12-22 22:43:25 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package Mercurial available for $(TARGET_ARCH)" ;
|
2009-09-01 15:42:09 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-05-30 05:26:28 +04:00
|
|
|
# Nano
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Nano ] {
|
2012-08-17 16:03:31 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/nano-2.2.6-r1a4-x86-gcc4-2012-08-30.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/nano-2.2.6-2-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2012-08-17 16:03:31 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/nano-2.3.1-x86_64-2012-08-17.zip ;
|
2012-08-17 16:03:31 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package Nano available for $(TARGET_ARCH)" ;
|
2009-05-30 05:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-09-14 07:09:01 +04:00
|
|
|
# Nanumfont
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Nanumfont ] {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/nanumfont-2.0-r1a4-x86-gcc2-2012-09-12.zip ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-04-25 05:38:32 +04:00
|
|
|
# NCurses
|
2013-04-27 05:13:37 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded NCurses ] {
|
2013-04-25 05:38:32 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package NCurses available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
Echo "No optional package NCurses available for gcc 4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-01 00:50:18 +04:00
|
|
|
$(hpkgBaseURL)/ncurses-5.9-6-x86_gcc2.hpkg ;
|
2013-04-25 05:38:32 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-05-30 05:26:28 +04:00
|
|
|
# Neon
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Neon ] {
|
2012-12-22 22:43:25 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/neon-0.29.6-r1a4-x86-gcc4-2012-08-29.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-01 00:50:18 +04:00
|
|
|
$(hpkgBaseURL)/neon-0.29.6-5-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2012-12-22 22:43:25 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/neon-0.29.6-x86_64-2012-12-18.zip ;
|
2012-12-22 22:43:25 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package Neon available for $(TARGET_ARCH)" ;
|
2009-05-30 05:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-01-19 21:25:48 +03:00
|
|
|
# NetFS network file system
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded NetFS ] {
|
|
|
|
# userlandfs module
|
2011-06-16 11:00:06 +04:00
|
|
|
AddFilesToHaikuImage home config add-ons userlandfs
|
|
|
|
: netfs ;
|
2010-01-19 21:25:48 +03:00
|
|
|
|
|
|
|
# servers
|
|
|
|
AddFilesToHaikuImage system servers : netfs_server ;
|
2011-06-16 11:00:06 +04:00
|
|
|
AddFilesToHaikuImage system servers
|
|
|
|
: authentication_server ;
|
2010-01-19 21:25:48 +03:00
|
|
|
|
|
|
|
# tools
|
|
|
|
AddFilesToHaikuImage system bin : netfs_config ;
|
|
|
|
AddFilesToHaikuImage system bin : netfs_server_prefs ;
|
|
|
|
|
|
|
|
#example settings for netfs_server
|
|
|
|
local netfsServerSettingsFiles = <driver-settings>netfs-server ;
|
|
|
|
SEARCH on $(netfsServerSettingsFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems netfs ] ;
|
|
|
|
AddFilesToHaikuImage home config settings kernel drivers
|
|
|
|
: $(netfsServerSettingsFiles) ;
|
|
|
|
|
|
|
|
#userlandfs settings are needed for netfs_config to work (ioctls)
|
|
|
|
local userlandfsServerSettingsFiles = <driver-settings>userlandfs ;
|
|
|
|
SEARCH on $(userlandfsServerSettingsFiles)
|
|
|
|
= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems userlandfs ] ;
|
|
|
|
AddFilesToHaikuImage home config settings kernel drivers
|
|
|
|
: $(userlandfsServerSettingsFiles) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-10-06 17:24:40 +04:00
|
|
|
# NetSurf web browser
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded NetSurf ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package NetSurf available for $(TARGET_ARCH)" ;
|
2011-06-16 11:00:06 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2008-10-06 17:24:40 +04:00
|
|
|
Echo "No optional package NetSurf available for gcc4" ;
|
|
|
|
} else {
|
2011-06-16 11:00:06 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-16 16:39:31 +04:00
|
|
|
$(baseURL)/netsurf-2.7-r1a3-x86-gcc2-2011-06-04.zip ;
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2011-06-04 11:35:18 +04:00
|
|
|
: /boot/apps/NetSurf/NetSurf ;
|
2008-10-06 17:24:40 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-09-07 02:18:10 +04:00
|
|
|
# OCaml
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded OCaml ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package OCaml available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2012-10-02 10:21:47 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/ocaml-4.00.0-r1a4-x86-gcc4-2012-09-30.zip ;
|
2012-10-02 10:21:47 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/camlp5-6.06-r1a4-x86-gcc4-2012-09-30.zip ;
|
2012-10-02 10:21:47 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/ocaml-4.00.0-r1a4-x86-gcc2-2012-09-27.zip ;
|
2012-10-02 10:21:47 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/camlp5-6.06-r1a4-x86-gcc2-2012-09-27.zip ;
|
2012-10-02 10:21:47 +04:00
|
|
|
}
|
2009-09-07 02:18:10 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# OpenSound drivers
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded OpenSound ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package OpenSound available for $(TARGET_ARCH)" ;
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
2010-05-04 16:37:50 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-16 16:39:31 +04:00
|
|
|
$(baseURL)/opensound-4.2-r1a2-x86-gcc2-2010-05-01.zip ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-05-04 17:19:57 +04:00
|
|
|
# OpenSSH
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded OpenSSH ] {
|
2012-12-29 16:44:20 +04:00
|
|
|
if $(TARGET_ARCH) = x86 || $(TARGET_ARCH) = x86_64 {
|
2009-05-27 05:12:34 +04:00
|
|
|
if ! $(HAIKU_IMAGE_HOST_NAME) && ! $(HAIKU_IGNORE_USER_BUILD_CONFIG) {
|
2008-10-18 13:36:14 +04:00
|
|
|
Exit "Optional package OpenSSH requires the HAIKU_IMAGE_HOST_NAME"
|
|
|
|
"variable to be set!" ;
|
|
|
|
}
|
2010-11-22 16:06:36 +03:00
|
|
|
|
2012-12-29 16:44:20 +04:00
|
|
|
if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/openssh-6.0p1-x86_64-2012-12-29.zip ;
|
2012-12-29 16:44:20 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/openssh-6.0p1-r1a4-x86-gcc4-2012-09-29.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-30 02:40:09 +04:00
|
|
|
$(hpkgBaseURL)/openssh-6.0p1-3-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2008-05-04 17:19:57 +04:00
|
|
|
|
|
|
|
AddUserToHaikuImage sshd : 1001 : 100 : /var/empty : /bin/true
|
|
|
|
: "sshd user" ;
|
2012-12-29 16:44:20 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package OpenSSH available for $(TARGET_ARCH)" ;
|
2008-05-04 17:19:57 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-31 00:01:25 +04:00
|
|
|
# OpenSSL
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded OpenSSL ] {
|
2012-12-18 18:47:02 +04:00
|
|
|
if $(TARGET_ARCH) = x86 || $(TARGET_ARCH) = x86_64 {
|
2013-05-05 17:02:57 +04:00
|
|
|
InstallOptionalHaikuImagePackage $(HAIKU_OPENSSL_URL) ;
|
2008-03-31 00:01:25 +04:00
|
|
|
} else {
|
2012-12-18 18:47:02 +04:00
|
|
|
Echo "No optional package OpenSSL available for $(TARGET_ARCH)" ;
|
2008-03-31 00:01:25 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-12-13 01:17:05 +03:00
|
|
|
# P7zip
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded P7zip ] {
|
2012-12-08 16:49:15 +04:00
|
|
|
if $(TARGET_ARCH) = x86 || $(TARGET_ARCH) = x86_64 {
|
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/p7zip-9.20.1-r1a4-x86-gcc4-2012-08-30.zip ;
|
2012-12-08 16:49:15 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/p7zip-9.20.1-2-x86_gcc2.hpkg ;
|
2012-12-08 16:49:15 +04:00
|
|
|
}
|
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/p7zip-9.20.1-x86_64-2012-12-08.zip ;
|
2009-10-25 23:01:33 +03:00
|
|
|
}
|
2012-12-08 16:49:15 +04:00
|
|
|
|
2010-03-03 01:30:40 +03:00
|
|
|
AddExpanderRuleToHaikuImage "application/x-7z-compressed" : .7z
|
|
|
|
: "7za l \\0045s"
|
|
|
|
: "7za x -y \\0045s"
|
2010-03-02 17:41:06 +03:00
|
|
|
;
|
2012-12-08 16:49:15 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package P7zip available for $(TARGET_ARCH)" ;
|
2008-12-13 01:17:05 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-08 12:01:53 +04:00
|
|
|
# Paladin
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Paladin ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Paladin available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-06-16 11:00:06 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/paladin-1.3-r1a4-x86-gcc4-2012-08-30.zip ;
|
2010-09-08 12:01:53 +04:00
|
|
|
} else {
|
2011-06-16 11:00:06 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-16 16:39:31 +04:00
|
|
|
$(baseURL)/paladin-1.3-r1a3-x86-gcc2-2011-05-18.zip ;
|
2010-09-08 12:01:53 +04:00
|
|
|
}
|
|
|
|
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2010-09-08 12:01:53 +04:00
|
|
|
: /boot/apps/Paladin/Paladin ;
|
|
|
|
AddSymlinkToHaikuImage common bin
|
|
|
|
: /boot/apps/Paladin/Paladin ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-09-30 23:06:36 +04:00
|
|
|
# PCRE regex engine
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded PCRE ] {
|
2012-12-22 22:43:25 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2009-09-30 23:06:36 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-06-16 11:00:06 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libpcre-8.21-r1a4-x86-gcc4-2012-09-03.zip ;
|
2009-09-30 23:06:36 +04:00
|
|
|
} else {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-01 00:50:18 +04:00
|
|
|
$(hpkgBaseURL)/libpcre-8.21-4-x86_gcc2.hpkg ;
|
2009-09-30 23:06:36 +04:00
|
|
|
}
|
2012-12-22 22:43:25 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/libpcre-8.21-x86_64-2012-12-18.zip ;
|
2012-12-22 22:43:25 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package PCRE available for $(TARGET_ARCH)" ;
|
2009-09-30 23:06:36 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# Pe text editor
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Pe ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Pe available for $(TARGET_ARCH)" ;
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
2009-03-27 14:32:09 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/pe-2.4.3-hg-r1a4-x86-gcc4-2012-09-04.zip ;
|
2009-03-27 14:32:09 +03:00
|
|
|
} else {
|
2010-04-29 16:23:30 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/pe-2.4.3_hg602-3-x86_gcc2.hpkg ;
|
2009-03-27 14:32:09 +03:00
|
|
|
}
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2009-10-10 17:38:18 +04:00
|
|
|
: /boot/apps/Pe/Pe ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Perl
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Perl ] {
|
2012-08-17 16:03:31 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/perl-5.10.1-r1a4-x86-gcc4-2012-10-17.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/perl-5.10.1-4-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2012-08-17 16:03:31 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/perl-5.10.1-x86_64-2012-08-17.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-08-17 16:03:31 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package Perl available for $(TARGET_ARCH)" ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-08-17 16:33:02 +04:00
|
|
|
# Puri
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Puri ] {
|
2009-05-30 05:26:28 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
2012-08-17 16:33:02 +04:00
|
|
|
Echo "No optional package Puri available for $(TARGET_ARCH)" ;
|
2013-05-05 17:02:57 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) < 4 {
|
2012-08-22 06:02:52 +04:00
|
|
|
Echo "No optional package Puri for gcc2" ;
|
2009-05-30 05:26:28 +04:00
|
|
|
} else {
|
2012-08-22 06:02:52 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/puri-0.3.9.1-x86-gcc4-2012-11-01.zip ;
|
2012-08-17 16:33:02 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
|
|
: /boot/apps/Puri/Puri ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-05-30 05:26:28 +04:00
|
|
|
# Python
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Python ] {
|
2012-11-29 01:32:32 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/python-2.6.8-r1a4-x86-gcc4-2012-09-03.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-04 03:02:44 +04:00
|
|
|
$(hpkgBaseURL)/python-2.6.8-3-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2012-11-29 01:32:32 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/python-2.6.8-x86_64-2012-11-28.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-11-29 01:32:32 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package Python available for $(TARGET_ARCH)" ;
|
2009-05-30 05:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-05-03 17:47:11 +04:00
|
|
|
# Readline
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Readline ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Readline available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
Echo "No optional package Readline available for gcc 4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(hpkgBaseURL)/readline-6.2-2-x86_gcc2.hpkg ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-05-05 17:02:57 +04:00
|
|
|
|
2009-07-09 01:52:43 +04:00
|
|
|
# Rsync
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Rsync ] {
|
2009-05-30 05:26:28 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
2009-07-09 01:52:43 +04:00
|
|
|
Echo "No optional package Rsync available for $(TARGET_ARCH)" ;
|
2009-05-30 05:26:28 +04:00
|
|
|
} else {
|
2011-05-07 07:41:15 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/rsync-3.0.7-r1a4-x86-gcc4-2012-09-09.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2011-05-07 07:41:15 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/rsync-3.0.7-r1a4-x86-gcc2-2012-09-12.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2011-05-07 07:41:15 +04:00
|
|
|
}
|
2009-05-30 05:26:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-09-08 12:01:53 +04:00
|
|
|
# Ruby
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Ruby ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Ruby available for $(TARGET_ARCH)" ;
|
2011-05-25 00:36:19 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/ruby-1.9.1-r1a4-x86-gcc4-2012-09-10.zip ;
|
2010-09-08 12:01:53 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/ruby-1.9.1-r1a4-x86-gcc2-2012-09-10.zip ;
|
2010-09-08 12:01:53 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-03-12 21:03:57 +03:00
|
|
|
# Sed
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Sed ] {
|
2012-08-16 23:32:29 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/sed-4.2.1-r1a4-x86-gcc4-2012-08-31.zip ;
|
2012-08-16 23:32:29 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/sed-4.2.1-4-x86_gcc2.hpkg ;
|
2012-08-16 23:32:29 +04:00
|
|
|
}
|
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2011-05-13 11:06:34 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/sed-4.2.1-x86_64-2012-08-14.zip ;
|
2010-03-12 21:03:57 +03:00
|
|
|
} else {
|
2012-08-16 23:32:29 +04:00
|
|
|
Echo "No optional package Sed available for $(TARGET_ARCH)" ;
|
2010-03-12 21:03:57 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-07-09 01:52:43 +04:00
|
|
|
# SQLite
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded SQLite ] {
|
2012-12-14 21:20:03 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/sqlite-3.7.13-r1a4-x86-gcc4-2012-08-30.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/sqlite-3.7.13-2-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2012-12-14 21:20:03 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/sqlite-3.7.13-x86_64-2012-12-08.zip ;
|
2012-12-14 21:20:03 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package SQLite available for $(TARGET_ARCH)" ;
|
2009-05-26 15:39:09 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-06-29 00:51:43 +04:00
|
|
|
# Subversion
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Subversion ] {
|
2012-12-22 22:43:25 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2010-11-22 16:06:36 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/subversion-1.6.18-r1a4-x86-gcc4-2012-08-30.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-01 00:50:18 +04:00
|
|
|
$(hpkgBaseURL)/subversion-1.6.18-4-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2012-12-22 22:43:25 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/subversion-1.6.18-x86_64-2012-12-18.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2012-12-22 22:43:25 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package Subversion available for $(TARGET_ARCH)" ;
|
2008-06-29 00:51:43 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-03-12 21:44:01 +04:00
|
|
|
# System-sounds
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded System-sounds ] {
|
|
|
|
InstallOptionalHaikuImagePackage System-sounds-2013-03-12.zip
|
|
|
|
: $(baseURL)/System-sounds-2013-03-12.zip
|
|
|
|
: ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-10-29 17:00:19 +04:00
|
|
|
# TagLib
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded TagLib ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package TagLib available for $(TARGET_ARCH)" ;
|
2011-05-13 19:36:25 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/taglib-1.6.3-r1a4-x86-gcc4-2012-09-03.zip ;
|
2010-10-29 17:00:19 +04:00
|
|
|
} else {
|
2011-05-13 19:36:25 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/taglib-1.6.3-r1a4-x86-gcc2-2012-09-03.zip ;
|
2010-10-29 17:00:19 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-02-11 01:18:06 +03:00
|
|
|
# Tar
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Tar ] {
|
2012-08-16 23:32:29 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2011-03-06 16:15:03 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2010-11-22 16:06:36 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/tar-1.26-r1a4-x86-gcc4-2012-09-03.zip ;
|
2010-11-22 16:06:36 +03:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/tar-1.26-4-x86_gcc2.hpkg ;
|
2010-11-22 16:06:36 +03:00
|
|
|
}
|
2012-08-16 23:32:29 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/tar-1.26-x86_64-2012-08-12.zip ;
|
2012-08-16 23:32:29 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package Tar available for $(TARGET_ARCH)" ;
|
2009-07-07 14:30:09 +04:00
|
|
|
}
|
2009-02-11 01:18:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-06-16 19:20:59 +04:00
|
|
|
# TimGMSoundFont
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded TimGMSoundFont ] {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-03 17:47:11 +04:00
|
|
|
$(hpkgBaseURL)/timgmsoundfont-2004_01_24-2-any.hpkg
|
2013-04-29 18:15:39 +04:00
|
|
|
: system ;
|
2010-06-16 19:20:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-05-06 09:48:41 +04:00
|
|
|
# Transmission
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Transmission ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Transmission available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
2011-05-27 23:04:46 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2010-05-07 01:32:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/transmission-2.21-r1a4-x86-gcc4-2012-09-12.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-05-06 09:48:41 +04:00
|
|
|
} else {
|
2011-05-27 23:04:46 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/transmission-2.21-r1a4-x86-gcc2-2012-09-05.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-05-06 09:48:41 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-01-22 12:16:38 +04:00
|
|
|
# UnRAR
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded UnRAR ] {
|
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/UnRAR-4.2.4-x86-gcc4-2013-01-21.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-05-06 09:48:41 +04:00
|
|
|
} else {
|
2011-05-27 23:04:46 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/UnRAR-4.2.4-x86-gcc2-2013-01-21.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2010-05-06 09:48:41 +04:00
|
|
|
}
|
2013-01-22 12:16:38 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/UnRAR-4.2.4-x86_64-2013-01-21.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2013-01-22 12:16:38 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package UnRAR available for $(TARGET_ARCH)" ;
|
2010-05-06 09:48:41 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-03-18 17:03:42 +03:00
|
|
|
# UserlandFS
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded UserlandFS ] {
|
2009-05-27 05:12:34 +04:00
|
|
|
local arch = $(TARGET_ARCH) ;
|
|
|
|
local abi = gcc$(HAIKU_GCC_VERSION[1]) ;
|
|
|
|
|
2009-03-18 19:44:10 +03:00
|
|
|
# kernel module
|
2011-06-16 11:00:06 +04:00
|
|
|
AddFilesToHaikuImage system add-ons kernel file_systems
|
|
|
|
: userlandfs ;
|
2009-03-18 19:44:10 +03:00
|
|
|
|
|
|
|
# server
|
2009-04-03 13:02:44 +04:00
|
|
|
AddFilesToHaikuImage system servers : userlandfs_server ;
|
2009-03-18 19:44:10 +03:00
|
|
|
|
|
|
|
# libs
|
|
|
|
local userlandfsLibs =
|
|
|
|
libuserlandfs_beos_kernel.so
|
|
|
|
libuserlandfs_haiku_kernel.so
|
|
|
|
libuserlandfs_fuse.so
|
|
|
|
;
|
2011-06-16 11:00:06 +04:00
|
|
|
AddFilesToHaikuImage system lib : $(userlandfsLibs) ;
|
2009-03-18 19:44:10 +03:00
|
|
|
|
|
|
|
# development goodies
|
2009-04-19 01:26:26 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ] {
|
2009-05-27 05:12:34 +04:00
|
|
|
if ! ( $(HAIKU_GCC_VERSION[1]) in 2 4 ) {
|
|
|
|
Exit "Optional package UserlandFS: Unsupported GCC version:"
|
|
|
|
$(HAIKU_GCC_VERSION[1]) ;
|
|
|
|
}
|
|
|
|
|
2009-03-18 19:44:10 +03:00
|
|
|
# library symlinks
|
|
|
|
local lib ;
|
|
|
|
for lib in $(userlandfsLibs) {
|
2009-05-27 05:12:34 +04:00
|
|
|
AddSymlinkToHaikuImage develop abi $(arch) $(abi) lib
|
|
|
|
: /system/lib/$(lib:BS) ;
|
2009-03-18 19:44:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
# FUSE headers
|
|
|
|
local fuseHeaders =
|
|
|
|
fuse_common_compat.h
|
|
|
|
fuse_common.h
|
|
|
|
fuse_compat.h
|
|
|
|
fuse.h
|
|
|
|
fuse_lowlevel_compat.h
|
|
|
|
fuse_lowlevel.h
|
|
|
|
fuse_opt.h
|
|
|
|
;
|
|
|
|
fuseHeaders = $(fuseHeaders:G=userlandfs!fuse) ;
|
|
|
|
SEARCH on $(fuseHeaders)
|
|
|
|
= [ FDirName $(HAIKU_TOP) headers private userlandfs fuse ] ;
|
|
|
|
AddFilesToHaikuImage develop headers userlandfs fuse : $(fuseHeaders) ;
|
|
|
|
}
|
2009-03-18 17:03:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-06-02 00:21:55 +04:00
|
|
|
# Vim
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Vim ] {
|
2013-01-22 12:16:38 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
2011-03-06 18:38:20 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/vim-7.3-r1a4-x86-gcc4-2012-09-26.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2011-03-06 18:38:20 +03:00
|
|
|
} else {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/vim-7.3-r1a4-x86-gcc2-2012-09-26.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2011-03-06 18:38:20 +03:00
|
|
|
}
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2009-06-02 00:21:55 +04:00
|
|
|
: /boot/common/bin/gvim ;
|
2013-01-22 12:16:38 +04:00
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2013-05-05 17:02:57 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(baseURL)/vim-7.3-x86_64-2013-01-19.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : cdPackage ;
|
2013-01-22 12:16:38 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
|
|
: /boot/common/bin/gvim ;
|
|
|
|
} else {
|
|
|
|
Echo "No optional package Vim available for $(TARGET_ARCH)" ;
|
2009-06-02 00:21:55 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# Vision
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Vision ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Vision available for $(TARGET_ARCH)" ;
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
2011-03-06 18:38:20 +03:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2013-04-16 16:39:31 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/vision-908-r1a4-x86-gcc4-2012-09-04.zip ;
|
2011-03-06 18:38:20 +03:00
|
|
|
} else {
|
2011-06-16 11:00:06 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/vision-908-2-x86_gcc2.hpkg ;
|
2011-03-06 18:38:20 +03:00
|
|
|
}
|
2011-07-11 15:50:05 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
2010-10-30 11:19:02 +04:00
|
|
|
: /boot/apps/Vision/Vision ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2012-07-10 23:18:50 +04:00
|
|
|
# WebKit
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded WebKit ] {
|
2012-12-23 01:42:56 +04:00
|
|
|
if $(TARGET_ARCH) != x86 && $(TARGET_ARCH) != x86_64 {
|
2012-07-10 23:18:50 +04:00
|
|
|
Echo "No optional package WebKit available for $(TARGET_ARCH)" ;
|
2013-05-05 17:02:57 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) < 4 {
|
2012-07-10 23:18:50 +04:00
|
|
|
Echo "No optional package WebKit available for gcc2" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage $(HAIKU_WEBKIT_FILE)
|
|
|
|
: $(baseURL)/$(HAIKU_WEBKIT_FILE)
|
|
|
|
: common ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-04-23 22:06:34 +04:00
|
|
|
# WebPositive
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded WebPositive ] {
|
2012-12-23 01:23:09 +04:00
|
|
|
if $(TARGET_ARCH) != x86 && $(TARGET_ARCH) != x86_64 {
|
2010-04-23 22:06:34 +04:00
|
|
|
Echo "No optional package WebPositive available for $(TARGET_ARCH)" ;
|
2011-06-16 11:00:06 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) < 4 {
|
2010-04-23 22:06:34 +04:00
|
|
|
Echo "No optional package WebPositive available for gcc2" ;
|
2012-07-10 23:18:50 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2013-05-05 17:02:57 +04:00
|
|
|
# TODO: Either we build a separate package for WebPositive or we
|
|
|
|
# incorporate it in haiku.hpkg.
|
2012-07-10 23:18:50 +04:00
|
|
|
AddFilesToHaikuHybridImage apps : WebPositive ;
|
|
|
|
AddSymlinkToHaikuHybridImage home config settings deskbar Applications
|
|
|
|
: /boot/apps/WebPositive ;
|
2010-04-23 22:06:34 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-02-19 13:26:10 +04:00
|
|
|
# WebPositiveBookmarks
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded WebPositiveBookmarks ] {
|
2013-05-05 17:02:57 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(baseURL)/WebPositiveBookmarks-2012-02-18.zip
|
2012-02-19 13:26:10 +04:00
|
|
|
: home config settings WebPositive ;
|
|
|
|
}
|
|
|
|
|
2013-05-05 17:02:57 +04:00
|
|
|
|
2008-10-04 22:28:15 +04:00
|
|
|
# Welcome
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Welcome ] {
|
2013-04-29 18:13:03 +04:00
|
|
|
AddPackageFilesToHaikuImage system : haiku_userguide.hpkg ;
|
|
|
|
AddPackageFilesToHaikuImage system : haiku_welcome.hpkg ;
|
2011-06-20 04:00:36 +04:00
|
|
|
|
2011-11-05 20:00:01 +04:00
|
|
|
AddSymlinkToHaikuImage home Desktop : /boot/system/bin/welcome
|
2011-06-16 11:00:06 +04:00
|
|
|
: Welcome ;
|
2011-11-05 20:00:01 +04:00
|
|
|
AddSymlinkToHaikuImage home Desktop : /boot/system/bin/userguide
|
2011-06-16 11:00:06 +04:00
|
|
|
: User\ Guide ;
|
2008-10-04 22:28:15 +04:00
|
|
|
}
|
2008-03-29 18:18:35 +03:00
|
|
|
|
2009-12-31 23:39:27 +03:00
|
|
|
|
2010-02-27 21:42:54 +03:00
|
|
|
# WifiFirmwareScriptData
|
|
|
|
# This optional package is for people who build their own images & have wifi
|
|
|
|
# hardware that requires install-wifi-firmwares.sh & have no active network
|
|
|
|
# connection. This is not to be added to default images.
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded WifiFirmwareScriptData ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package WifiFirmwareScriptData available for"
|
|
|
|
$(TARGET_ARCH) ;
|
|
|
|
} else {
|
|
|
|
# broadcom43xx
|
|
|
|
# firmware cutter
|
|
|
|
local broadcomFWCutterArchive = b43-fwcutter-012.tar.bz2 ;
|
|
|
|
local broadcomFWCutterURL =
|
2012-06-21 06:11:33 +04:00
|
|
|
http://www.haiku-files.org/files/wifi-firmwares/b43/fwcutter/$(broadcomFWCutterArchive) ;
|
2010-02-27 21:42:54 +03:00
|
|
|
local broadcomFWCutterFile = [ DownloadFile $(broadcomFWCutterArchive)
|
|
|
|
: $(broadcomFWCutterURL) ] ;
|
2011-06-16 11:00:06 +04:00
|
|
|
AddFilesToHaikuImage
|
|
|
|
system data firmware broadcom43xx b43-fwcutter
|
2010-02-27 21:42:54 +03:00
|
|
|
: $(broadcomFWCutterFile) ;
|
|
|
|
|
|
|
|
# headers needed to compile firmware cutter
|
|
|
|
local glibcDir = [ FDirName
|
|
|
|
$(HAIKU_TOP) src system libroot posix glibc ] ;
|
|
|
|
local byteswapHeader = [ FDirName $(glibcDir) string byteswap.h ] ;
|
2011-06-16 11:00:06 +04:00
|
|
|
AddFilesToHaikuImage
|
|
|
|
system data firmware broadcom43xx b43-fwcutter
|
2010-02-27 21:42:54 +03:00
|
|
|
: $(byteswapHeader) ;
|
|
|
|
local bitByteswapHeader = [ FDirName
|
|
|
|
$(glibcDir) include arch x86 bits byteswap.h ] ;
|
2011-06-16 11:00:06 +04:00
|
|
|
AddFilesToHaikuImage
|
|
|
|
system data firmware broadcom43xx b43-fwcutter bits
|
2010-02-27 21:42:54 +03:00
|
|
|
: $(bitByteswapHeader) ;
|
|
|
|
|
|
|
|
# file containing firmware
|
|
|
|
local broadcom43xxFile ;
|
|
|
|
broadcom43xxFile = [ DownloadFile wl_apsta-3.130.20.0.o
|
2012-06-21 06:11:33 +04:00
|
|
|
: http://www.haiku-files.org/files/wifi-firmwares/b43/wl_apsta-3.130.20.0.o ] ;
|
2010-02-27 21:42:54 +03:00
|
|
|
AddFilesToHaikuImage system data firmware broadcom43xx
|
|
|
|
: $(broadcom43xxFile) ;
|
|
|
|
|
|
|
|
# marvell88w8335
|
2012-06-21 06:11:33 +04:00
|
|
|
local marvellArchive = malo-firmware-1.4.tgz ;
|
|
|
|
local marvellURL = http://www.haiku-files.org/files/wifi-firmwares/marvell/$(marvellArchive) ;
|
|
|
|
local marvellFile = [ DownloadFile $(marvellArchive) : $(marvellURL) ] ;
|
2010-02-27 21:42:54 +03:00
|
|
|
AddFilesToHaikuImage system data firmware marvell88w8335
|
2012-06-21 06:11:33 +04:00
|
|
|
: $(marvellFile) ;
|
2010-02-27 21:42:54 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# WonderBrush
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded WonderBrush ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package WonderBrush available for $(TARGET_ARCH)" ;
|
2011-06-16 11:00:06 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2008-03-29 18:18:35 +03:00
|
|
|
Echo "No optional package WonderBrush available for gcc4" ;
|
|
|
|
} else {
|
2013-04-23 01:57:28 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/wonderbrush-2.1.2-1-x86_gcc2.hpkg ;
|
2013-04-23 01:57:28 +04:00
|
|
|
AddSymlinkToHaikuImage home config settings deskbar Applications
|
|
|
|
: /boot/common/apps/WonderBrush/WonderBrush ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
2008-05-29 01:52:51 +04:00
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2011-09-28 04:33:45 +04:00
|
|
|
# wpa_supplicant
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded wpa_supplicant ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package wpa_supplicant available for $(TARGET_ARCH)" ;
|
2011-10-06 14:22:02 +04:00
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2011-09-28 04:33:45 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/wpa_supplicant-2.0-x86-gcc4-2013-03-31.zip
|
2013-05-07 04:38:55 +04:00
|
|
|
: : !stripDebugSymbols ;
|
2011-09-28 04:33:45 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-23 00:29:06 +04:00
|
|
|
$(hpkgBaseURL)/wpa_supplicant-0.7.3-2-x86_gcc2.hpkg
|
2013-04-29 18:15:39 +04:00
|
|
|
: system ;
|
2011-09-28 04:33:45 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-02-24 09:51:48 +03:00
|
|
|
# WQY-MicroHei
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded WQY-MicroHei ] {
|
2011-03-02 05:15:56 +03:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-04-29 18:15:39 +04:00
|
|
|
$(hpkgBaseURL)/wqy_microhei-0.2.0~beta-2-any.hpkg ;
|
2011-02-24 09:51:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-03-02 17:42:30 +03:00
|
|
|
# XZ-Utils
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded XZ-Utils ] {
|
2013-02-22 00:58:19 +04:00
|
|
|
if $(TARGET_ARCH) = x86 || $(TARGET_ARCH) = x86_64 {
|
|
|
|
if $(TARGET_ARCH) = x86_64 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/xz-utils-5.0.4-x86_64-2013-02-16.zip ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(baseURL)/xz-utils-5.0.4-x86-gcc4-2013-02-16.zip ;
|
2013-02-22 00:58:19 +04:00
|
|
|
} else {
|
2013-05-05 17:02:57 +04:00
|
|
|
# TODO: Remove! It's actually the repackaged gcc 4 archive.
|
2013-02-22 00:58:19 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/xz-utils-5.0.1-2-x86_gcc2.hpkg ;
|
2013-02-22 00:58:19 +04:00
|
|
|
}
|
|
|
|
|
2010-03-02 17:42:30 +03:00
|
|
|
AddExpanderRuleToHaikuImage "application/x-xz" : .tar.xz
|
2010-03-02 20:36:08 +03:00
|
|
|
: "tar -Jtvf \\0045s"
|
|
|
|
: "tar -Jxvf \\0045s"
|
2010-03-02 17:42:30 +03:00
|
|
|
;
|
|
|
|
AddExpanderRuleToHaikuImage "application/x-xz" : .txz
|
2010-03-02 20:36:08 +03:00
|
|
|
: "tar -Jtvf \\0045s"
|
|
|
|
: "tar -Jxvf \\0045s"
|
|
|
|
;
|
|
|
|
AddExpanderRuleToHaikuImage "application/x-xz" : .xz
|
2010-03-02 17:42:30 +03:00
|
|
|
: "echo \\0045s | sed 's/.xz\\\$//g'"
|
|
|
|
: "xz -df \\0045s"
|
|
|
|
;
|
2013-02-22 00:58:19 +04:00
|
|
|
} else {
|
|
|
|
Echo "No optional package XZ-Utils available for $(TARGET_ARCH)" ;
|
2010-03-02 17:42:30 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-10-02 02:52:48 +04:00
|
|
|
# Yasm
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Yasm ] {
|
2012-12-08 16:49:15 +04:00
|
|
|
if $(TARGET_ARCH) = x86 {
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/yasm-1.2.0-r1a4-x86-gcc4-2012-08-29.zip ;
|
2012-12-08 16:49:15 +04:00
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(hpkgBaseURL)/yasm-1.2.0-2-x86_gcc2.hpkg ;
|
2012-12-08 16:49:15 +04:00
|
|
|
}
|
|
|
|
} else if $(TARGET_ARCH) = x86_64 {
|
2011-05-13 19:31:10 +04:00
|
|
|
InstallOptionalHaikuImagePackage
|
2013-05-05 17:02:57 +04:00
|
|
|
$(baseURL)/yasm-1.2.0-x86_64-2012-12-08.zip ;
|
2008-10-02 02:52:48 +04:00
|
|
|
} else {
|
2012-12-08 16:49:15 +04:00
|
|
|
Echo "No optional package Yasm available for $(TARGET_ARCH)" ;
|
2008-10-02 02:52:48 +04:00
|
|
|
}
|
|
|
|
}
|
2013-05-06 06:37:18 +04:00
|
|
|
|
|
|
|
|
|
|
|
# Zlib
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Zlib ] {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(hpkgBaseURL)/$(HAIKU_ZLIB_FILE)
|
|
|
|
: system ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Zlib-devel
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Zlib-devel ] {
|
|
|
|
InstallOptionalHaikuImagePackage
|
|
|
|
$(hpkgBaseURL)/$(HAIKU_ZLIB_DEVEL_FILE)
|
|
|
|
: system ;
|
|
|
|
}
|