mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Merge branch 'package-management'
Conflicts: app-arch/p7zip/p7zip-9.04.bep app-arch/p7zip/p7zip-9.13.bep app-arch/tar/tar-1.22.bep app-arch/tar/tar-1.23.bep app-arch/tar/tar-1.25.bep app-arch/xz-utils/xz-utils-4.999.9.bep app-cdr/bchunk/bchunk-1.2.0.bep app-cdr/cdrtools/cdrtools-2.01.01a66.bep app-cdr/cdrtools/cdrtools-3.01a01.bep app-crypt/gnupg/gnupg-1.4.11.bep app-doc/doxygen/doxygen-1.6.3.bep app-editors/nano/nano-2.2.6.bep app-editors/vim/vim-7.3.bep app-text/antiword/antiword-0.37.bep app-text/libpaper/libpaper-1.1.23.bep app-text/libpaper/libpaper-1.1.24.bep app-text/rman/rman-3.2.bep dev-db/sqlite/sqlite-3.6.22.bep dev-db/sqlite/sqlite-3.6.23.bep dev-db/sqlite/sqlite-3.7.2.bep dev-db/sqlite/sqlite-3.7.3.bep dev-db/sqlite/sqlite-3.7.4.bep dev-db/sqlite/sqlite-3.7.5.bep dev-lang/lua/lua-5.1.4.bep dev-lang/nasm/nasm-2.08.01.bep dev-lang/perl/patches/perl-5.10.0.patch dev-lang/python/python-2.5.4.bep dev-lang/python/python-2.6.4.bep dev-lang/python/python-2.6.5.bep dev-lang/python/python-2.6.6.bep dev-lang/python/python-2.6.7.bep dev-lang/python/python-2.6.8.bep dev-lang/python/python-3.2.bep dev-lang/python/python-3.2.recipe dev-lang/python/python-3.2a4.bep dev-lang/yasm/yasm-1.1.0.bep dev-libs/apr-util/apr-util-1.3.10.bep dev-libs/apr-util/apr-util-1.3.9.bep dev-libs/apr/apr-1.3.8.bep dev-libs/apr/apr-1.3.9.bep dev-libs/apr/apr-1.4.2.bep dev-libs/apr/patches/apr-1.4.2.patch dev-libs/expat/expat-2.0.1.bep dev-libs/fribidi/fribidi-0.19.2.bep dev-libs/icu/icu-4.4.1.bep dev-libs/libedit/libedit-20090923.bep dev-libs/libedit/libedit-20100424.bep dev-libs/libevent/libevent-1.4.11.bep dev-libs/libevent/libevent-1.4.13.bep dev-libs/libevent/libevent-1.4.14b.bep dev-libs/libevent/libevent-2.0.10.bep dev-libs/libiconv/libiconv-1.12.bep dev-libs/libiconv/libiconv-1.13.1.bep dev-libs/libpcre/libpcre-8.00.bep dev-libs/libpcre/libpcre-8.02.bep dev-libs/libpcre/libpcre-8.12.bep dev-libs/libxml2/libxml2-2.7.3.bep dev-libs/libxml2/libxml2-2.7.6.bep dev-libs/libxml2/libxml2-2.7.7.bep dev-libs/libxml2/libxml2-2.7.8.bep dev-libs/openssl/openssl-0.9.8l.bep dev-libs/openssl/openssl-0.9.8m.bep dev-libs/openssl/openssl-1.0.0.bep dev-libs/openssl/openssl-1.0.0a.bep dev-libs/openssl/openssl-1.0.0c.bep dev-qt/qtcore/qtcore-4.8.x-git.bep dev-qt/qtcore/qtcore-4.8.x.recipe dev-util/ccache/ccache-3.0.1.bep dev-util/cmake/cmake-2.6.4.bep dev-util/cmake/cmake-2.8.0.bep dev-util/cmake/cmake-2.8.1.bep dev-util/cmake/cmake-2.8.2.bep dev-util/cmake/cmake-2.8.3.bep dev-util/cmake/cmake-2.8.4.bep dev-util/ctags/ctags-5.8.bep dev-util/fastdep/fastdep-0.16.bep dev-util/gperf/gperf-3.0.4.bep dev-util/pkgconfig/pkgconfig-0.23.bep dev-util/pkgconfig/pkgconfig-0.25.bep dev-vcs/cvs/cvs-1.12.13.1.bep dev-vcs/cvs/cvs-1.12.13.bep dev-vcs/subversion/subversion-1.6.11.bep dev-vcs/subversion/subversion-1.6.12.bep dev-vcs/subversion/subversion-1.6.13.bep dev-vcs/subversion/subversion-1.6.15.bep dev-vcs/subversion/subversion-1.6.6.bep dev-vcs/subversion/subversion-1.6.9.bep dev-vcs/subversion/subversion-1.7.xx-svn.bep haiku-apps/bepdf/bepdf-1.1.1b4.bep haiku-apps/libwalter/libwalter-97.bep haiku-apps/paladin/paladin-1.3-hg.bep haiku-apps/pe/pe-2.4.3-600.bep haiku-apps/vision/patches/vision-908-gcc4.patch haiku-apps/vision/vision-0.9.7.bep haiku-libs/libwalter/libwalter-97.bep haiku-libs/libwalter/libwalter-97.recipe media-gfx/graphviz/graphviz-2.24.bep media-gfx/graphviz/graphviz-2.26.3.bep media-libs/flac/flac-1.2.1.bep media-libs/freetype/freetype-2.3.11.bep media-libs/freetype/freetype-2.4.2.bep media-libs/freetype/freetype-2.4.4.bep media-libs/ftgl/ftgl-2.1-svn.bep media-libs/guilib/guilib-1.2.1.bep media-libs/jpeg/jpeg-7.bep media-libs/jpeg/jpeg-8b.bep media-libs/jpeg/jpeg-8c.bep media-libs/libao/libao-1.0.0.bep media-libs/libmad/libmad-0.15.1b.bep media-libs/libmng/libmng-1.0.10.bep media-libs/libogg/libogg-1.1.4.bep media-libs/libogg/libogg-1.2.0.bep media-libs/libogg/libogg-1.2.2.bep media-libs/libpng/libpng-1.2.29.bep media-libs/libpng/libpng-1.2.30.bep media-libs/libpng/libpng-1.2.40.bep media-libs/libpng/libpng-1.2.41.bep media-libs/libpng/libpng-1.2.43.bep media-libs/libpng/libpng-1.2.44.bep media-libs/libpng/libpng-1.4.1.bep media-libs/libpng/libpng-1.4.2.bep media-libs/libpng/libpng-1.4.3.bep media-libs/libpng/libpng-1.4.4.bep media-libs/libpng/libpng-1.5.0.bep media-libs/libsdl/patches/libsdl-1.2-hg.patch media-libs/libtheora/libtheora-1.1.1.bep media-libs/libvorbis/libvorbis-1.2.3.bep media-libs/libvorbis/libvorbis-1.3.1.bep media-libs/libvorbis/libvorbis-1.3.2.bep media-libs/libvpx/libvpx-0.9.2-git.bep media-libs/smpeg/smpeg-0.4.5.bep media-libs/speex/speex-1.2-git.bep media-libs/speex/speex-1.2rc1.bep media-sound/lame/lame-3.98.4.bep media-sound/lame/lame-398-2.bep media-sound/vorbis-tools/vorbis-tools-1.2.0.bep media-sound/vorbis-tools/vorbis-tools-1.4.0.bep media-video/ffmpeg/ffmpeg-0.5.bep media-video/ffmpeg/ffmpeg-0.6.bep net-misc/curl/curl-7.18.2.bep net-misc/curl/curl-7.19.1.bep net-misc/curl/curl-7.19.2.bep net-misc/curl/curl-7.19.5.bep net-misc/curl/curl-7.19.7.bep net-misc/curl/curl-7.20.0.bep net-misc/curl/curl-7.20.1.bep net-misc/curl/curl-7.21.1.bep net-misc/curl/curl-7.21.2.bep net-misc/curl/curl-7.21.3.bep net-misc/openssh/openssh-5.4p1.bep net-misc/openssh/openssh-5.5p1.bep net-misc/openssh/openssh-5.6p1.bep net-misc/openssh/openssh-5.7p1.bep net-misc/openssh/openssh-5.8p1.bep net-wireless/b43-fwcutter/b43-fwcutter-012.bep sci-libs/gsl/gsl-1.14.bep sys-apps/ed/ed-1.4.bep sys-apps/gawk/gawk-3.1.8.bep sys-apps/grep/grep-2.5.4.bep sys-apps/grep/grep-2.7.bep sys-apps/groff/groff-1.20.1.bep sys-apps/man/man-1.6f.bep sys-apps/sed/sed-4.2.1.bep sys-apps/texinfo/texinfo-4.13a.bep sys-devel/autoconf/autoconf-2.68.bep sys-devel/automake/automake-1.11.1.bep sys-devel/bison/bison-2.4.1.bep sys-devel/bison/bison-2.4.bep sys-devel/flex/flex-2.5.35.bep sys-devel/gettext/gettext-0.18.1.1-dev.bep sys-devel/gettext/gettext-0.18.1.1.bep sys-devel/jam/jam-2.5.bep sys-devel/m4/m4-1.4.14.bep sys-libs/ncurses/ncurses-5.6.bep sys-libs/ncurses/ncurses-5.7.bep sys-libs/readline/readline-5.2.bep sys-libs/readline/readline-6.0.bep sys-libs/readline/readline-6.1.bep sys-libs/zlib/zlib-1.2.3.bep sys-libs/zlib/zlib-1.2.5.bep x11-libs/qt/qt-4.8.x-git.bep
This commit is contained in:
@@ -1,84 +0,0 @@
|
||||
diff -Naur scons-1.0.1/engine/SCons/Platform/__init__.py scons-1.0.1-haiku-1/engine/SCons/Platform/__init__.py
|
||||
--- scons-1.0.1/engine/SCons/Platform/__init__.py 2008-09-06 16:34:17.000000000 +0200
|
||||
+++ scons-1.0.1-haiku-1/engine/SCons/Platform/__init__.py 2008-09-28 19:06:30.000000000 +0200
|
||||
@@ -76,6 +76,8 @@
|
||||
return 'aix'
|
||||
elif string.find(sys.platform, 'darwin') != -1:
|
||||
return 'darwin'
|
||||
+ elif string.find(sys.platform, 'haiku') != -1:
|
||||
+ return 'haiku'
|
||||
else:
|
||||
return 'posix'
|
||||
elif os.name == 'os2':
|
||||
diff -Naur scons-1.0.1/engine/SCons/Platform/haiku.py scons-1.0.1-haiku-1/engine/SCons/Platform/haiku.py
|
||||
--- scons-1.0.1/engine/SCons/Platform/haiku.py 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ scons-1.0.1-haiku-1/engine/SCons/Platform/haiku.py 2008-10-05 13:27:12.000000000 +0200
|
||||
@@ -0,0 +1,41 @@
|
||||
+"""SCons.Platform.haiku
|
||||
+
|
||||
+Platform-specific initialization for Haiku systems.
|
||||
+
|
||||
+There normally shouldn't be any need to import this module directly. It
|
||||
+will usually be imported through the generic SCons.Platform.Platform()
|
||||
+selection method.
|
||||
+"""
|
||||
+
|
||||
+#
|
||||
+# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundation
|
||||
+#
|
||||
+# Permission is hereby granted, free of charge, to any person obtaining
|
||||
+# a copy of this software and associated documentation files (the
|
||||
+# "Software"), to deal in the Software without restriction, including
|
||||
+# without limitation the rights to use, copy, modify, merge, publish,
|
||||
+# distribute, sublicense, and/or sell copies of the Software, and to
|
||||
+# permit persons to whom the Software is furnished to do so, subject to
|
||||
+# the following conditions:
|
||||
+#
|
||||
+# The above copyright notice and this permission notice shall be included
|
||||
+# in all copies or substantial portions of the Software.
|
||||
+#
|
||||
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
||||
+# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||||
+# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+#
|
||||
+
|
||||
+__revision__ = ""
|
||||
+
|
||||
+import posix
|
||||
+
|
||||
+def generate(env):
|
||||
+ posix.generate(env)
|
||||
+ env['ENV']['PATH'] = '.:/boot/home/config/bin:/boot/common/bin:/boot/system/bin:/boot/develop/tools/gnupro/bin'
|
||||
+ # help the linker find the startfiles
|
||||
+ env['ENV']['BELIBRARIES'] = '/boot/develop/lib/x86'
|
||||
diff -Naur scons-1.0.1/script/scons scons-1.0.1-haiku-1/script/scons
|
||||
--- scons-1.0.1/script/scons 2008-09-06 16:34:17.000000000 +0200
|
||||
+++ scons-1.0.1-haiku-1/script/scons 2008-10-05 13:20:42.000000000 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/env python
|
||||
+#! /bin/env python
|
||||
#
|
||||
# SCons - a Software Constructor
|
||||
#
|
||||
diff -Naur scons-1.0.1/script/scons-time scons-1.0.1-haiku-1/script/scons-time
|
||||
--- scons-1.0.1/script/scons-time 2008-09-06 16:34:17.000000000 +0200
|
||||
+++ scons-1.0.1-haiku-1/script/scons-time 2008-10-05 13:20:49.000000000 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/bin/env python
|
||||
#
|
||||
# scons-time - run SCons timings and collect statistics
|
||||
#
|
||||
diff -Naur scons-1.0.1/script/sconsign scons-1.0.1-haiku-1/script/sconsign
|
||||
--- scons-1.0.1/script/sconsign 2008-09-06 16:34:17.000000000 +0200
|
||||
+++ scons-1.0.1-haiku-1/script/sconsign 2008-10-05 13:20:59.000000000 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/env python
|
||||
+#! /bin/env python
|
||||
#
|
||||
# SCons - a Software Constructor
|
||||
#
|
||||
@@ -1,84 +0,0 @@
|
||||
diff -Naur scons-1.0.1/engine/SCons/Platform/__init__.py scons-1.0.1-haiku-1/engine/SCons/Platform/__init__.py
|
||||
--- scons-1.0.1/engine/SCons/Platform/__init__.py 2008-09-06 16:34:17.000000000 +0200
|
||||
+++ scons-1.0.1-haiku-1/engine/SCons/Platform/__init__.py 2008-09-28 19:06:30.000000000 +0200
|
||||
@@ -76,6 +76,8 @@
|
||||
return 'aix'
|
||||
elif string.find(sys.platform, 'darwin') != -1:
|
||||
return 'darwin'
|
||||
+ elif string.find(sys.platform, 'haiku') != -1:
|
||||
+ return 'haiku'
|
||||
else:
|
||||
return 'posix'
|
||||
elif os.name == 'os2':
|
||||
diff -Naur scons-1.0.1/engine/SCons/Platform/haiku.py scons-1.0.1-haiku-1/engine/SCons/Platform/haiku.py
|
||||
--- scons-1.0.1/engine/SCons/Platform/haiku.py 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ scons-1.0.1-haiku-1/engine/SCons/Platform/haiku.py 2008-10-05 13:27:12.000000000 +0200
|
||||
@@ -0,0 +1,41 @@
|
||||
+"""SCons.Platform.haiku
|
||||
+
|
||||
+Platform-specific initialization for Haiku systems.
|
||||
+
|
||||
+There normally shouldn't be any need to import this module directly. It
|
||||
+will usually be imported through the generic SCons.Platform.Platform()
|
||||
+selection method.
|
||||
+"""
|
||||
+
|
||||
+#
|
||||
+# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundation
|
||||
+#
|
||||
+# Permission is hereby granted, free of charge, to any person obtaining
|
||||
+# a copy of this software and associated documentation files (the
|
||||
+# "Software"), to deal in the Software without restriction, including
|
||||
+# without limitation the rights to use, copy, modify, merge, publish,
|
||||
+# distribute, sublicense, and/or sell copies of the Software, and to
|
||||
+# permit persons to whom the Software is furnished to do so, subject to
|
||||
+# the following conditions:
|
||||
+#
|
||||
+# The above copyright notice and this permission notice shall be included
|
||||
+# in all copies or substantial portions of the Software.
|
||||
+#
|
||||
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
||||
+# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||||
+# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+#
|
||||
+
|
||||
+__revision__ = ""
|
||||
+
|
||||
+import posix
|
||||
+
|
||||
+def generate(env):
|
||||
+ posix.generate(env)
|
||||
+ env['ENV']['PATH'] = '.:/boot/home/config/bin:/boot/common/bin:/boot/system/bin:/boot/develop/tools/gnupro/bin'
|
||||
+ # help the linker find the startfiles
|
||||
+ env['ENV']['BELIBRARIES'] = '/boot/develop/lib/x86'
|
||||
diff -Naur scons-1.0.1/script/scons scons-1.0.1-haiku-1/script/scons
|
||||
--- scons-1.0.1/script/scons 2008-09-06 16:34:17.000000000 +0200
|
||||
+++ scons-1.0.1-haiku-1/script/scons 2008-10-05 13:20:42.000000000 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/env python
|
||||
+#! /bin/env python
|
||||
#
|
||||
# SCons - a Software Constructor
|
||||
#
|
||||
diff -Naur scons-1.0.1/script/scons-time scons-1.0.1-haiku-1/script/scons-time
|
||||
--- scons-1.0.1/script/scons-time 2008-09-06 16:34:17.000000000 +0200
|
||||
+++ scons-1.0.1-haiku-1/script/scons-time 2008-10-05 13:20:49.000000000 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/bin/env python
|
||||
#
|
||||
# scons-time - run SCons timings and collect statistics
|
||||
#
|
||||
diff -Naur scons-1.0.1/script/sconsign scons-1.0.1-haiku-1/script/sconsign
|
||||
--- scons-1.0.1/script/sconsign 2008-09-06 16:34:17.000000000 +0200
|
||||
+++ scons-1.0.1-haiku-1/script/sconsign 2008-10-05 13:20:59.000000000 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/env python
|
||||
+#! /bin/env python
|
||||
#
|
||||
# SCons - a Software Constructor
|
||||
#
|
||||
97
dev-util/scons/patches/scons-2.2.0.patchset
Normal file
97
dev-util/scons/patches/scons-2.2.0.patchset
Normal file
@@ -0,0 +1,97 @@
|
||||
From 8f1968371d3426d08cba8dafa44eaaa0cb59b13f Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Fri, 9 Aug 2013 17:46:35 +0200
|
||||
Subject: Add support for the Haiku platform
|
||||
|
||||
|
||||
diff --git a/engine/SCons/Platform/__init__.py b/engine/SCons/Platform/__init__.py
|
||||
index 2cab3c8..373938d 100644
|
||||
--- a/engine/SCons/Platform/__init__.py
|
||||
+++ b/engine/SCons/Platform/__init__.py
|
||||
@@ -78,6 +78,8 @@ def platform_default():
|
||||
return 'aix'
|
||||
elif sys.platform.find('darwin') != -1:
|
||||
return 'darwin'
|
||||
+ elif sys.platform.find('haiku') != -1:
|
||||
+ return 'haiku'
|
||||
else:
|
||||
return 'posix'
|
||||
elif os.name == 'os2':
|
||||
diff --git a/engine/SCons/Platform/haiku.py b/engine/SCons/Platform/haiku.py
|
||||
new file mode 100644
|
||||
index 0000000..5c802dd
|
||||
--- /dev/null
|
||||
+++ b/engine/SCons/Platform/haiku.py
|
||||
@@ -0,0 +1,69 @@
|
||||
+"""SCons.Platform.haiku
|
||||
+
|
||||
+Platform-specific initialization for Haiku systems.
|
||||
+
|
||||
+There normally shouldn't be any need to import this module directly. It
|
||||
+will usually be imported through the generic SCons.Platform.Platform()
|
||||
+selection method.
|
||||
+"""
|
||||
+
|
||||
+#
|
||||
+# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
|
||||
+#
|
||||
+# Permission is hereby granted, free of charge, to any person obtaining
|
||||
+# a copy of this software and associated documentation files (the
|
||||
+# "Software"), to deal in the Software without restriction, including
|
||||
+# without limitation the rights to use, copy, modify, merge, publish,
|
||||
+# distribute, sublicense, and/or sell copies of the Software, and to
|
||||
+# permit persons to whom the Software is furnished to do so, subject to
|
||||
+# the following conditions:
|
||||
+#
|
||||
+# The above copyright notice and this permission notice shall be included
|
||||
+# in all copies or substantial portions of the Software.
|
||||
+#
|
||||
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
||||
+# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||||
+# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
+# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
+# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
+# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
+#
|
||||
+
|
||||
+__revision__ = ""
|
||||
+
|
||||
+import commands
|
||||
+import os
|
||||
+import posix
|
||||
+
|
||||
+def findDir(identifier):
|
||||
+ return commands.getoutput('finddir %s' % identifier)
|
||||
+
|
||||
+def generate(env):
|
||||
+ posix.generate(env)
|
||||
+
|
||||
+ # determine, if building for the secondary architecture
|
||||
+ secondaryArch = os.environ.get('HAIKU_SECONDARY_ARCH')
|
||||
+ archSubDir = '/' + secondaryArch if secondaryArch else ''
|
||||
+
|
||||
+ # PATH
|
||||
+ pathDescriptions = [
|
||||
+ ('B_USER_NONPACKAGED_BIN_DIRECTORY', None),
|
||||
+ ('B_USER_CONFIG_DIRECTORY', 'bin'),
|
||||
+ ('B_COMMON_NONPACKAGED_BIN_DIRECTORY', None),
|
||||
+ ('B_COMMON_BIN_DIRECTORY', None),
|
||||
+ ('B_SYSTEM_BIN_DIRECTORY', None)
|
||||
+ ]
|
||||
+
|
||||
+ paths = []
|
||||
+ for pathConstant, subDir in pathDescriptions:
|
||||
+ path = findDir(pathConstant)
|
||||
+ if subDir:
|
||||
+ path += '/' + subDir
|
||||
+ paths.append(path)
|
||||
+
|
||||
+ if secondaryArch:
|
||||
+ # prepend the secondary arch subdirectories
|
||||
+ paths = [path + archSubDir for path in paths] + paths
|
||||
+
|
||||
+ env['ENV']['PATH'] = ':'.join(paths)
|
||||
--
|
||||
1.7.10.2
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
DESCRIPTION="Open Source next-generation build tool."
|
||||
HOMEPAGE="http://www.scons.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2001-2008 The SCons Foundation"
|
||||
SRC_URI="http://ovh.dl.sourceforge.net/sourceforge/scons/scons-1.0.1.tar.gz"
|
||||
CHECKSUM_MD5="139ef2e108789afe25ee0bdbb138b8c0"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-lang/python <= 2.5.5"
|
||||
BUILD {
|
||||
cd scons-1.0.1
|
||||
python2.5 setup.py build
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd scons-1.0.1
|
||||
if [ ! -z ${DESTDIR} ];then
|
||||
python2.5 setup.py install --root="${DESTDIR}" --prefix="/boot/common" --symlink-scons --standard-lib
|
||||
else
|
||||
python2.5 setup.py install --prefix="/boot/common" --symlink-scons --standard-lib
|
||||
fi
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
DESCRIPTION="Open Source next-generation build tool."
|
||||
HOMEPAGE="http://www.scons.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2001-2008 The SCons Foundation"
|
||||
SRC_URI="http://ovh.dl.sourceforge.net/sourceforge/scons/scons-1.0.1.tar.gz"
|
||||
CHECKSUM_MD5="139ef2e108789afe25ee0bdbb138b8c0"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-lang/python >= 2.5.4"
|
||||
BUILD {
|
||||
cd scons-1.0.1
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd scons-1.0.1
|
||||
if [ ! -z ${DESTDIR} ];then
|
||||
python setup.py install --root="${DESTDIR}" --prefix="/boot/common" --symlink-scons --standard-lib
|
||||
else
|
||||
python setup.py install --prefix="/boot/common" --symlink-scons --standard-lib
|
||||
fi
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION="Open Source next-generation build tool."
|
||||
HOMEPAGE="http://www.scons.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2001-2010 The SCons Foundation"
|
||||
SRC_URI="http://ovh.dl.sourceforge.net/sourceforge/scons/scons-2.0.1.tar.gz"
|
||||
CHECKSUM_MD5="beca648b894cdbf85383fffc79516d18"
|
||||
REVISION="2"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-lang/python >= 2.5.4"
|
||||
BUILD {
|
||||
cd scons-2.0.1
|
||||
for f in "script/scons script/scons-time script/sconsign"; do
|
||||
sed -i -e "s@#! /usr/bin/env python@#! /bin/env python@" $f
|
||||
done
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
if [ ! -z ${DESTDIR} ]; then
|
||||
options="${options} --root=${DESTDIR}"
|
||||
fi
|
||||
options="${options} --prefix=`finddir B_COMMON_DIRECTORY`"
|
||||
options="${options} --install-data=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`"
|
||||
options="${options} --symlink-scons"
|
||||
options="${options} --standard-lib"
|
||||
cd scons-2.0.1
|
||||
python setup.py install $options
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION="Open Source next-generation build tool."
|
||||
HOMEPAGE="http://www.scons.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2001-2012 The SCons Foundation"
|
||||
SRC_URI="http://superb-dca3.dl.sourceforge.net/project/scons/scons/2.2.0/scons-2.2.0.tar.gz"
|
||||
CHECKSUM_MD5="f737f474a02d08156c821bd2d4d4b632"
|
||||
REVISION="2"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="dev-lang/python >= 2.5.4"
|
||||
BUILD {
|
||||
cd scons-2.2.0
|
||||
for f in "script/scons script/scons-time script/sconsign"; do
|
||||
sed -i -e "s@#! /usr/bin/env python@#! /bin/env python@" $f
|
||||
done
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
if [ ! -z ${DESTDIR} ]; then
|
||||
options="${options} --root=${DESTDIR}"
|
||||
fi
|
||||
options="${options} --prefix=`finddir B_COMMON_DIRECTORY`"
|
||||
options="${options} --install-data=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`"
|
||||
options="${options} --symlink-scons"
|
||||
options="${options} --standard-lib"
|
||||
cd scons-2.2.0
|
||||
python setup.py install $options
|
||||
}
|
||||
47
dev-util/scons/scons-2.2.0.recipe
Normal file
47
dev-util/scons/scons-2.2.0.recipe
Normal file
@@ -0,0 +1,47 @@
|
||||
SUMMARY="Open Source software construction tool"
|
||||
DESCRIPTION="SCons is an Open Source software construction tool—that is, a next-generation build tool. Think of SCons as an improved, cross-platform substitute for the classic Make utility with integrated functionality similar to autoconf/automake and compiler caches such as ccache. In short, SCons is an easier, more reliable and faster way to build software."
|
||||
HOMEPAGE="http://www.scons.org/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2001-2012 The SCons Foundation"
|
||||
SRC_URI="http://superb-dca3.dl.sourceforge.net/project/scons/scons/2.2.0/scons-2.2.0.tar.gz"
|
||||
CHECKSUM_MD5="f737f474a02d08156c821bd2d4d4b632"
|
||||
REVISION="2"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PATCHES="scons-2.2.0.patchset"
|
||||
|
||||
PROVIDES="
|
||||
scons = $portVersion compat >= 2
|
||||
cmd:scons = $portVersion compat >= 2
|
||||
cmd:scons_2.2.0 = $portVersion compat >= 2
|
||||
cmd:scons_time = $portVersion compat >= 2
|
||||
cmd:scons_time_2.2.0 = $portVersion compat >= 2
|
||||
cmd:sconsign = $portVersion compat >= 2
|
||||
cmd:sconsign_2.2.0 = $portVersion compat >= 2
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
cmd:python
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
for f in "script/scons script/scons-time script/sconsign"; do
|
||||
sed -i -e "s@#! /usr/bin/env python@#! /bin/env python@" $f
|
||||
done
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
options="$options --prefix=$prefix"
|
||||
options="$options --install-data=$documentationDir"
|
||||
options="$options --symlink-scons"
|
||||
options="$options --standard-lib"
|
||||
python setup.py install $options
|
||||
}
|
||||
Reference in New Issue
Block a user