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-05-29 14:22:59 +04:00
|
|
|
# Detect a hybrid GCC2/GCC4 image and disable the checks for unavailable GCC4
|
|
|
|
# packages. (It does not matter if a package was built with either compiler,
|
|
|
|
# the system should have the respective other system libs.)
|
|
|
|
local isHybridBuild = 0 ;
|
|
|
|
if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) && $(HAIKU_ALTERNATIVE_GCC_OUTPUT_DIR) {
|
|
|
|
isHybridBuild = 1 ;
|
|
|
|
}
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-03-31 00:01:25 +04:00
|
|
|
# Available Optional Packages:
|
2008-05-29 14:22:59 +04:00
|
|
|
# APR
|
|
|
|
# APR-util
|
|
|
|
# Beam
|
2008-10-28 05:44:39 +03:00
|
|
|
# BeBook
|
2008-10-17 01:31:17 +04:00
|
|
|
# BeHappy
|
2008-09-18 16:55:59 +04:00
|
|
|
# BePDF
|
2008-05-29 01:52:51 +04:00
|
|
|
# Bluetooth
|
2008-07-24 13:50:58 +04:00
|
|
|
# CVS
|
2008-03-31 00:01:25 +04:00
|
|
|
# Development
|
|
|
|
# Firefox
|
|
|
|
# Links
|
2008-10-06 17:24:40 +04:00
|
|
|
# NetSurf
|
2008-03-31 00:01:25 +04:00
|
|
|
# OpenSound
|
2008-10-18 02:40:17 +04:00
|
|
|
# OpenSSH
|
2008-03-31 00:01:25 +04:00
|
|
|
# OpenSSL
|
2008-12-13 01:17:05 +03:00
|
|
|
# P7zip
|
2008-03-31 00:01:25 +04:00
|
|
|
# Pe
|
|
|
|
# Perl
|
2008-06-29 00:51:43 +04:00
|
|
|
# Subversion
|
2008-03-31 00:01:25 +04:00
|
|
|
# Vision
|
|
|
|
# VLC
|
2008-10-04 22:28:15 +04:00
|
|
|
# Welcome
|
2008-03-31 00:01:25 +04:00
|
|
|
# WonderBrush
|
2008-10-02 02:52:48 +04:00
|
|
|
# Yasm
|
2008-03-31 00:01:25 +04:00
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# package dependencies
|
2008-05-16 00:47:42 +04:00
|
|
|
OptionalPackageDependencies APR-util : APR ;
|
2008-10-28 05:44:39 +03:00
|
|
|
OptionalPackageDependencies BeHappy : BeBook NetSurf ;
|
2008-03-29 18:18:35 +03:00
|
|
|
OptionalPackageDependencies Development : Perl ;
|
2008-10-06 17:24:40 +04:00
|
|
|
OptionalPackageDependencies NetSurf : OpenSSL ;
|
2008-05-04 17:19:57 +04:00
|
|
|
OptionalPackageDependencies OpenSSH : OpenSSL ;
|
2008-06-29 00:51:43 +04:00
|
|
|
OptionalPackageDependencies Subversion : OpenSSL ;
|
2008-03-29 18:18:35 +03:00
|
|
|
|
2008-05-29 14:22:59 +04:00
|
|
|
|
2008-05-14 02:15:45 +04:00
|
|
|
# APR
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded APR ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package APR available for $(TARGET_ARCH)" ;
|
2008-05-14 02:15:45 +04:00
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2008-05-21 00:43:28 +04:00
|
|
|
InstallOptionalHaikuImagePackage apr-0.9.17-gcc2-2008-05-20
|
|
|
|
: $(baseURL)/apr-0.9.17-gcc2-2008-05-20.zip
|
2008-05-14 02:15:45 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-05-16 00:47:42 +04:00
|
|
|
# APR-util
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded APR-util ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package APR-util available for $(TARGET_ARCH)" ;
|
2008-05-16 00:47:42 +04:00
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
|
|
|
InstallOptionalHaikuImagePackage apr-util-0.9.15-gcc2-2008-05-15
|
|
|
|
: $(baseURL)/apr-util-0.9.15-gcc2-2008-05-15.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
|
|
|
Echo "No optional package Beam available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage Beam
|
|
|
|
# : http://dl.hirschkaefer.de/beam/beam-1-1-2-bone-with-libs.zip
|
|
|
|
: http://dl.hirschkaefer.de/beam/beam-1-1-2-r5-with-libs.zip
|
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2008-06-02 01:18:08 +04:00
|
|
|
# : /boot/apps/beam-1-1-2-bone-with-libs/Beam ;
|
|
|
|
: /boot/apps/beam-1-1-2-r5-with-libs/Beam ;
|
2008-05-29 14:22:59 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-10-28 05:44:39 +03:00
|
|
|
# BeBook
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded BeBook ] {
|
|
|
|
InstallOptionalHaikuImagePackage bebook_20081026
|
|
|
|
: http://haiku-files.org/files/optional-packages/bebook_20081026.zip
|
|
|
|
: beos documentation
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home Desktop
|
|
|
|
: /boot/beos/documentation/bebook/index.html : BeBook ;
|
|
|
|
}
|
|
|
|
|
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)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
|
|
|
Echo "No optional package BeHappy available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage BeHappy
|
|
|
|
: http://revolf.free.fr/beos/behappy-bone.zip
|
2008-10-18 13:36:14 +04:00
|
|
|
:
|
2008-10-17 01:31:17 +04:00
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/BeHappy/BeHappy ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
|
|
|
Echo "No optional package BePDF available for gcc4" ;
|
|
|
|
} else {
|
2008-10-27 17:26:16 +03:00
|
|
|
InstallOptionalHaikuImagePackage BePDF-1.1.0b1.x86
|
|
|
|
: http://haiku-files.org/files/optional-packages/BePDF-1.1.0b1.x86.zip
|
2008-09-18 16:55:59 +04:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/BePDF/BePDF ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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) ;
|
2008-05-29 14:22:59 +04:00
|
|
|
AddFilesToHaikuImage beos system servers : bluetooth_server ;
|
|
|
|
AddFilesToHaikuImage beos system lib : libbluetooth.so ;
|
|
|
|
AddFilesToHaikuImage beos bin : bt_dev_info bt_discovery ;
|
2008-08-14 03:38:39 +04:00
|
|
|
|
2008-05-29 14:22:59 +04:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded Development ] {
|
|
|
|
AddSymlinkToHaikuImage develop lib x86 : /system/lib/libbluetooth.so ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-07-24 13:50:58 +04:00
|
|
|
# CVS
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded CVS ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package CVS available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2008-12-05 07:13:34 +03:00
|
|
|
InstallOptionalHaikuImagePackage cvs-1.12.13-gcc2-2008-12-04
|
|
|
|
: $(baseURL)/cvs-1.12.13-gcc2-2008-12-04.zip
|
2008-07-24 13:50:58 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# Development
|
2008-11-09 01:47:53 +03:00
|
|
|
if [ IsOptionalHaikuImagePackageAdded Development ] && $(TARGET_ARCH) = x86 {
|
2008-03-29 18:18:35 +03:00
|
|
|
# glue code
|
|
|
|
AddFilesToHaikuImage develop lib x86
|
|
|
|
: <src!system!glue!arch!x86>crti.o <src!system!glue!arch!x86>crtn.o
|
|
|
|
<src!system!glue>init_term_dyn.o <src!system!glue>start_dyn.o ;
|
|
|
|
|
2008-08-14 03:38:39 +04:00
|
|
|
# kernel
|
|
|
|
AddFilesToHaikuImage develop lib x86 : kernel.so : _KERNEL_ ;
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# library symlinks
|
|
|
|
local lib ;
|
2008-05-04 04:32:26 +04:00
|
|
|
for lib in $(BEOS_SYSTEM_LIBS) libglut.so {
|
2008-03-29 18:18:35 +03:00
|
|
|
AddSymlinkToHaikuImage develop lib x86 : /system/lib/$(lib:BS) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
# static libraries
|
|
|
|
AddFilesToHaikuImage develop lib x86 : libncurses.a ;
|
|
|
|
|
|
|
|
# cc and c++ wrapper scripts
|
|
|
|
AddFilesToHaikuImage beos bin : cc c++ ;
|
|
|
|
|
|
|
|
# headers
|
|
|
|
AddHeaderDirectoryToHaikuImage gnu : 3rdparty ;
|
|
|
|
AddHeaderDirectoryToHaikuImage os ;
|
|
|
|
AddHeaderDirectoryToHaikuImage posix ;
|
|
|
|
|
|
|
|
# add _G_config.h to posix/
|
|
|
|
SEARCH on <header>_G_config.h = [ FDirName $(HAIKU_TOP) headers glibc ] ;
|
|
|
|
AddFilesToHaikuImage develop headers posix : <header>_G_config.h ;
|
|
|
|
|
|
|
|
# create be -> os symlink for now
|
|
|
|
AddSymlinkToHaikuImage develop headers : os : be ;
|
|
|
|
|
2008-04-25 01:33:08 +04:00
|
|
|
# BSD compatibility headers
|
|
|
|
AddHeaderDirectoryToHaikuImage compatibility bsd : bsd ;
|
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# third party libs headers
|
2008-11-09 01:47:53 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage libs freetype2 : 3rdparty ;
|
2008-11-12 22:40:03 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage libs iconv : 3rdparty ;
|
2008-03-29 18:18:35 +03:00
|
|
|
AddHeaderDirectoryToHaikuImage libs ncurses : 3rdparty ;
|
|
|
|
AddHeaderDirectoryToHaikuImage libs png : 3rdparty ;
|
|
|
|
AddHeaderDirectoryToHaikuImage libs zlib : 3rdparty ;
|
|
|
|
|
|
|
|
if $(HAIKU_GCC_VERSION[1]) > 2 {
|
|
|
|
# gcc 4
|
|
|
|
|
|
|
|
# symlink cpp to g++'s headers
|
|
|
|
AddSymlinkToHaikuImage develop headers
|
|
|
|
: /boot/develop/tools/gnupro/include/g++ : cpp ;
|
|
|
|
} else {
|
|
|
|
# gcc 2.95.3
|
|
|
|
|
|
|
|
AddHeaderDirectoryToHaikuImage cpp ;
|
2008-05-29 14:22:59 +04:00
|
|
|
}
|
2008-03-29 18:18:35 +03:00
|
|
|
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(HAIKU_GCC_VERSION[1]) = 2 || $(isHybridBuild) = 1 {
|
2008-03-29 18:18:35 +03:00
|
|
|
# gcc and binutils
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2008-10-25 18:17:10 +04:00
|
|
|
InstallOptionalHaikuImagePackage gcc-2.95.3-haiku-081024
|
|
|
|
: $(baseURL)/gcc-2.95.3-haiku-081024.zip
|
|
|
|
:
|
2008-03-29 18:18:35 +03:00
|
|
|
;
|
|
|
|
# other tools
|
2008-11-09 21:26:03 +03:00
|
|
|
InstallOptionalHaikuImagePackage autoconf-2.63-gcc2-2008-11-05
|
|
|
|
: $(baseURL)/autoconf-2.63-gcc2-2008-11-05.zip
|
2008-11-04 02:33:15 +03:00
|
|
|
:
|
|
|
|
;
|
2008-11-09 21:26:03 +03:00
|
|
|
InstallOptionalHaikuImagePackage automake-1.10.1-gcc2-2008-11-06
|
|
|
|
: $(baseURL)/automake-1.10.1-gcc2-2008-11-06.zip
|
|
|
|
:
|
2008-03-29 18:18:35 +03:00
|
|
|
;
|
2008-11-09 21:26:03 +03:00
|
|
|
InstallOptionalHaikuImagePackage bison-2.4-gcc2-2008-11-09
|
|
|
|
: $(baseURL)/bison-2.4-gcc2-2008-11-09.zip
|
|
|
|
:
|
2008-03-29 18:18:35 +03:00
|
|
|
;
|
2008-11-09 21:26:03 +03:00
|
|
|
InstallOptionalHaikuImagePackage flex-2.5.35-gcc2-2008-11-09
|
|
|
|
: $(baseURL)/flex-2.5.35-gcc2-2008-11-09.zip
|
|
|
|
:
|
2008-03-29 18:18:35 +03:00
|
|
|
;
|
2008-11-09 21:26:03 +03:00
|
|
|
InstallOptionalHaikuImagePackage jam-haiku-gcc2-2008-03-27-2
|
|
|
|
: $(baseURL)/jam-haiku-gcc2-2008-03-27-2.zip
|
|
|
|
:
|
2008-03-29 18:18:35 +03:00
|
|
|
;
|
2008-11-09 21:26:03 +03:00
|
|
|
InstallOptionalHaikuImagePackage libtool-2.2.6a-gcc2-2008-11-09
|
|
|
|
: $(baseURL)/libtool-2.2.6a-gcc2-2008-11-09.zip
|
|
|
|
:
|
2008-03-29 18:18:35 +03:00
|
|
|
;
|
2008-11-09 21:26:03 +03:00
|
|
|
InstallOptionalHaikuImagePackage m4-1.4.12-gcc2-2008-11-04
|
|
|
|
: $(baseURL)/m4-1.4.12-gcc2-2008-11-04.zip
|
|
|
|
:
|
2008-03-29 18:18:35 +03:00
|
|
|
;
|
2008-11-09 21:26:03 +03:00
|
|
|
InstallOptionalHaikuImagePackage texinfo-4.13a-gcc2-2008-11-09
|
|
|
|
: $(baseURL)/texinfo-4.13a-gcc2-2008-11-09.zip
|
|
|
|
:
|
2008-03-29 18:18:35 +03:00
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Firefox web browser
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Firefox ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Firefox available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
2008-03-29 18:18:35 +03:00
|
|
|
Echo "No optional package Firefox available for gcc4" ;
|
|
|
|
} else {
|
2008-11-04 01:26:37 +03:00
|
|
|
InstallOptionalHaikuImagePackage Firefox-2.0.0.17
|
|
|
|
: http://www.yellowbites.com/downloads/Firefox-2.0.0.17.zip
|
2008-05-29 14:22:59 +04:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/Firefox/Firefox ;
|
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)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
2008-03-29 18:18:35 +03:00
|
|
|
Echo "No optional package Links available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage Links
|
|
|
|
: http://revolf.free.fr/beos/links-beos-bin.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/home/config/bin/links ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
|
|
|
Echo "No optional package NetSurf available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage NetSurf
|
|
|
|
: http://revolf.free.fr/beos/netsurf-bone.zip
|
|
|
|
:
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/netsurf/NetSurf ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
|
|
|
InstallOptionalHaikuImagePackage OpenSound
|
2008-06-21 17:48:08 +04:00
|
|
|
: http://www.yellowbites.com/downloads/OpenSound_Haiku20080621.zip
|
2008-03-29 18:18:35 +03:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
#UnzipArchiveToHaikuImage home : data/vv.mp3.zip : 0 ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-05-04 17:19:57 +04:00
|
|
|
# OpenSSH
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded OpenSSH ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package OpenSSH available for $(TARGET_ARCH)" ;
|
2008-05-04 17:19:57 +04:00
|
|
|
} else {
|
2008-10-18 13:36:14 +04:00
|
|
|
if ! $(HAIKU_IMAGE_HOST_NAME) {
|
|
|
|
Exit "Optional package OpenSSH requires the HAIKU_IMAGE_HOST_NAME"
|
|
|
|
"variable to be set!" ;
|
|
|
|
}
|
|
|
|
|
2008-05-04 17:19:57 +04:00
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2008-05-07 02:47:38 +04:00
|
|
|
InstallOptionalHaikuImagePackage openssh-5.0p1-gcc2-2008-05-04-1
|
|
|
|
: $(baseURL)/openssh-5.0p1-gcc2-2008-05-04-1.zip
|
2008-05-04 17:19:57 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
|
|
|
|
AddUserToHaikuImage sshd : 1001 : 100 : /var/empty : /bin/true
|
|
|
|
: "sshd user" ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-03-31 00:01:25 +04:00
|
|
|
# OpenSSL
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded OpenSSL ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package OpenSSL available for $(TARGET_ARCH)" ;
|
2008-03-31 00:01:25 +04:00
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
|
|
|
InstallOptionalHaikuImagePackage openssl-0.9.8g-gcc2-2008-03-28
|
|
|
|
: $(baseURL)/openssl-0.9.8g-gcc2-2008-03-28.zip
|
|
|
|
: home
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-12-13 01:17:05 +03:00
|
|
|
|
|
|
|
# P7zip
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded P7zip ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package P7zip available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
|
|
|
Echo "No optional package P7zip available for gcc4" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage p7zip-4.61-gcc2-2008-12-03
|
|
|
|
: http://ports.haiku-files.org/downloads/82
|
|
|
|
:
|
|
|
|
;
|
|
|
|
|
|
|
|
actions BuildHaikuImageExpanderRules
|
|
|
|
{
|
|
|
|
echo "\"application/x-7z-compressed\"\t.7z\t\"7za l \0045s\"\t\"7za x -y \0045s\"" > $(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
Always expander.rules ;
|
|
|
|
MakeLocate expander.rules : $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) ;
|
|
|
|
BuildHaikuImageExpanderRules expander.rules ;
|
|
|
|
AddFilesToHaikuImage home config etc : expander.rules ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
2008-03-29 18:18:35 +03:00
|
|
|
Echo "No optional package Pe available for gcc4" ;
|
|
|
|
} else {
|
2008-11-08 14:02:14 +03:00
|
|
|
InstallOptionalHaikuImagePackage pe-2.4.1-x86-rc3
|
2008-11-04 01:26:37 +03:00
|
|
|
: http://www.yellowbites.com/downloads/pe-2.4.1-x86.zip
|
2008-03-29 18:18:35 +03:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2008-11-04 01:26:37 +03:00
|
|
|
: /boot/apps/Pe/Pe ;
|
2008-03-29 18:18:35 +03:00
|
|
|
AddSymlinkToHaikuImage home config bin
|
2008-11-04 01:26:37 +03:00
|
|
|
: /boot/apps/Pe/lpe ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Perl
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Perl ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Perl available for $(TARGET_ARCH)" ;
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2008-10-29 05:31:01 +03:00
|
|
|
InstallOptionalHaikuImagePackage perl-5.10.0-gcc2-2008-10-29
|
|
|
|
: $(baseURL)/perl-5.10.0-gcc2-2008-10-29.zip
|
|
|
|
:
|
2008-03-29 18:18:35 +03:00
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-06-29 00:51:43 +04:00
|
|
|
# Subversion
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Subversion ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Subversion available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
InstallOptionalHaikuImagePackage Subversion
|
|
|
|
: http://haiku.mlotz.ch/subversion-1.4.6-haiku-20080628.zip
|
|
|
|
: home
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
2008-07-22 02:45:45 +04:00
|
|
|
InstallOptionalHaikuImagePackage Vision-0.9.7-H-21072008-gcc4
|
|
|
|
: http://vision.sf.net/Vision-0.9.7-H-21072008-gcc4.zip
|
2008-05-17 02:31:35 +04:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2008-12-23 07:42:43 +03:00
|
|
|
: /boot/apps/Vision-0.9.7-H-21072008/Vision ;
|
2008-03-29 18:18:35 +03:00
|
|
|
} else {
|
2009-01-25 19:27:44 +03:00
|
|
|
InstallOptionalHaikuImagePackage Vision-0.9.7-H-25012009
|
|
|
|
: http://vision.sf.net/Vision-0.9.7-H-25012009.zip
|
2008-03-29 18:18:35 +03:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2009-01-25 19:27:44 +03:00
|
|
|
: /boot/apps/Vision-0.9.7-H-25012009/Vision ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-03-29 18:18:35 +03:00
|
|
|
# VLC media player
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded VLC ] {
|
2008-05-29 14:22:59 +04:00
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package VLC available for $(TARGET_ARCH)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
2008-03-29 18:18:35 +03:00
|
|
|
Echo "No optional package VLC available for gcc4" ;
|
|
|
|
} else {
|
2008-11-04 01:26:37 +03:00
|
|
|
InstallOptionalHaikuImagePackage VLC-0.8.6c
|
2008-03-29 18:18:35 +03:00
|
|
|
: http://www.yellowbites.com/downloads/vlc-0.8.6c.zip
|
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
2008-11-04 01:26:37 +03:00
|
|
|
: "/boot/apps/vlc-0.8.6c/VLC media player" ;
|
2008-11-08 14:02:14 +03:00
|
|
|
AddSymlinkToHaikuImage common bin
|
|
|
|
: "/boot/apps/vlc-0.8.6c/VLC media player" : vlc ;
|
2008-03-29 18:18:35 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-10-04 22:28:15 +04:00
|
|
|
# Welcome
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Welcome ] {
|
|
|
|
CopyDirectoryToHaikuImage beos documentation
|
|
|
|
: [ FDirName $(HAIKU_TOP) docs welcome ]
|
|
|
|
: welcome : -x .svn ;
|
2008-10-17 13:53:43 +04:00
|
|
|
CopyDirectoryToHaikuImage beos documentation
|
|
|
|
: [ FDirName $(HAIKU_TOP) docs userguide ]
|
|
|
|
: userguide : -x .svn ;
|
2008-10-04 22:28:15 +04:00
|
|
|
AddSymlinkToHaikuImage home Desktop
|
|
|
|
: /boot/beos/documentation/welcome/welcome.html : Welcome ;
|
|
|
|
}
|
2008-03-29 18:18:35 +03:00
|
|
|
|
2008-11-12 00:47:12 +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)" ;
|
|
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
|
2008-03-29 18:18:35 +03:00
|
|
|
Echo "No optional package WonderBrush available for gcc4" ;
|
|
|
|
} else {
|
2008-11-09 02:07:16 +03:00
|
|
|
local baseURL = http://www.yellowbites.com/downloads ;
|
2008-11-09 01:47:53 +03:00
|
|
|
InstallOptionalHaikuImagePackage WonderBrush-2.1.2-Haiku
|
|
|
|
: $(baseURL)/WonderBrush-2.1.2-gcc2-x86-Haiku.zip
|
2008-03-29 18:18:35 +03:00
|
|
|
: apps
|
|
|
|
;
|
|
|
|
AddSymlinkToHaikuImage home config be Applications
|
|
|
|
: /boot/apps/WonderBrush/WonderBrush ;
|
|
|
|
}
|
|
|
|
}
|
2008-05-29 01:52:51 +04:00
|
|
|
|
2008-11-12 00:47:12 +03:00
|
|
|
|
2008-10-02 02:52:48 +04:00
|
|
|
# Yasm
|
|
|
|
if [ IsOptionalHaikuImagePackageAdded Yasm ] {
|
|
|
|
if $(TARGET_ARCH) != x86 {
|
|
|
|
Echo "No optional package Yasm available for $(TARGET_ARCH)" ;
|
|
|
|
} else {
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
2008-12-03 05:46:59 +03:00
|
|
|
InstallOptionalHaikuImagePackage yasm-0.7.2-gcc2-2008-11-25
|
|
|
|
: $(baseURL)/yasm-0.7.2-gcc2-2008-11-25.zip
|
2008-10-02 02:52:48 +04:00
|
|
|
:
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|