Permalink
Browse files

- Move some functions from ming-env to external common/packaging.mfun

- Fix logic to work with new function from previous commit
- Add directory metadata to store common information about each program
  • Loading branch information...
Alexpux committed Sep 21, 2012
1 parent e4f8d8a commit d87deab8e371731da15704c6a52598665a37e026
Showing with 1,466 additions and 1,848 deletions.
  1. +0 −2 common/{config-nix.sh → config-nix}
  2. +0 −2 common/{config-osx.sh → config-osx}
  3. +0 −2 common/{config-win.sh → config-win}
  4. +7 −5 common/config.sh
  5. +1,298 −6 common/packaging.mfun
  6. +1 −3 common/version.mfun
  7. +5 −0 metadata/binutils.meta
  8. +5 −0 metadata/cloog.meta
  9. +6 −0 metadata/dlfcn-win32.meta
  10. +5 −0 metadata/expat.meta
  11. +7 −0 metadata/gcc.meta
  12. +7 −0 metadata/gdb.meta
  13. +6 −0 metadata/gmp.meta
  14. +6 −0 metadata/libffi.meta
  15. +6 −0 metadata/libiconv.meta
  16. +6 −0 metadata/make.meta
  17. +5 −0 metadata/mingw-w64.meta
  18. +5 −0 metadata/mingw.meta
  19. +6 −0 metadata/mpc.meta
  20. +6 −0 metadata/mpfr.meta
  21. +7 −0 metadata/ppl.meta
  22. +7 −0 metadata/python.meta
  23. +5 −0 metadata/winpthreads.meta
  24. +5 −0 metadata/zlib.meta
  25. +47 −1,287 mingw-env
  26. +0 −12 rules/binutils/binutils-2.22.51.mpkg
  27. +0 −12 rules/binutils/binutils-2.22.52.mpkg
  28. +0 −12 rules/binutils/binutils-trunk.mpkg
  29. +0 −12 rules/cloog/cloog-0.16.3.mpkg
  30. +0 −12 rules/cloog/cloog-0.17.0.mpkg
  31. +0 −13 rules/dlfcn-win32/dlfcn-win32-trunk.mpkg
  32. +3 −15 rules/expat/expat-2.0.1.mpkg
  33. +2 −14 rules/expat/expat-2.1.0.mpkg
  34. +0 −14 rules/gcc/gcc-4.6-branch.mpkg
  35. +0 −5 rules/gcc/gcc-4.6.1.mpkg
  36. +0 −5 rules/gcc/gcc-4.6.2.mpkg
  37. +0 −14 rules/gcc/gcc-4.6.3.mpkg
  38. +0 −14 rules/gcc/gcc-trunk.mpkg
  39. +0 −14 rules/gdb/gdb-7.3.1.mpkg
  40. +0 −14 rules/gdb/gdb-7.4.mpkg
  41. +0 −14 rules/gdb/gdb-trunk.mpkg
  42. +0 −13 rules/gmp/gmp-5.0.2.mpkg
  43. +0 −13 rules/gmp/gmp-5.0.4.mpkg
  44. +0 −13 rules/gmp/gmp-5.0.5.mpkg
  45. +0 −13 rules/gmp/gmp-trunk.mpkg
  46. +0 −13 rules/libffi/libffi-3.0.10.mpkg
  47. +0 −13 rules/libiconv/libiconv-1.14.mpkg
  48. +0 −13 rules/make/make-3.82.mpkg
  49. +0 −13 rules/make/make-trunk.mpkg
  50. +0 −12 rules/mingw-w64/mingw-w64-2.0.1.mpkg
  51. +0 −6 rules/mingw-w64/mingw-w64-trunk-winapi.mpkg
  52. +0 −12 rules/mingw-w64/mingw-w64-trunk-wincrt.mpkg
  53. +0 −12 rules/mingw-w64/mingw-w64-trunk.mpkg
  54. +0 −6 rules/mingw/mingw-4.6-branch.mpkg
  55. +0 −6 rules/mingw/mingw-4.6.1.mpkg
  56. +0 −6 rules/mingw/mingw-4.6.2.mpkg
  57. +0 −6 rules/mingw/mingw-trunk.mpkg
  58. +0 −13 rules/mpc/mpc-0.9.mpkg
  59. +0 −13 rules/mpc/mpc-1.0.1.mpkg
  60. +0 −13 rules/mpc/mpc-1.0.mpkg
  61. +0 −13 rules/mpc/mpc-trunk.mpkg
  62. +0 −13 rules/mpfr/mpfr-3.1.0.mpkg
  63. +0 −13 rules/mpfr/mpfr-3.1.1.mpkg
  64. 0 rules/{package_template.mpkg → package_template.mpkg.tpl}
  65. +0 −14 rules/ppl/ppl-0.11.2.mpkg
  66. +0 −14 rules/ppl/ppl-0.12.1.mpkg
  67. +0 −14 rules/ppl/ppl-0.12.mpkg
  68. +0 −14 rules/ppl/ppl-1.0.mpkg
  69. +0 −8 rules/python/python-2.7.2.mpkg
  70. +0 −6 rules/python/python-2.7.mpkg
  71. +0 −12 rules/winpthreads/winpthreads-trunk.mpkg
  72. 0 rules/zlib/{zlib-1.2.6-nix.mpkg → zlib-1.2.6-nix}
  73. 0 rules/zlib/{zlib-1.2.6-osx.mpkg → zlib-1.2.6-osx}
  74. 0 rules/zlib/{zlib-1.2.6-win.mpkg → zlib-1.2.6-win}
  75. +3 −15 rules/zlib/zlib-1.2.6.mpkg
@@ -1,5 +1,3 @@
-#!/bin/bash
-
#
# The BSD 3-Clause License. http://www.opensource.org/licenses/BSD-3-Clause
#
@@ -1,5 +1,3 @@
-#!/bin/bash
-
#
# The BSD 3-Clause License. http://www.opensource.org/licenses/BSD-3-Clause
#
@@ -1,5 +1,3 @@
-#!/bin/bash
-
#
# The BSD 3-Clause License. http://www.opensource.org/licenses/BSD-3-Clause
#
View
@@ -39,9 +39,12 @@
# you`r prefered version
DEFAULT_MINGW_VERSION=mingw-4.6.2
-# extension for
+# extension for package rule
RULES_EXT=mpkg
+# extension for package metadata
+METADATA_EXT=meta
+
# create archives for packages?
CREATE_ARCHIVES=yes
@@ -64,13 +67,12 @@ BUILD_JOBS=3
#LINK_TYPE="--disable-static --enable-shared"
LINK_TYPE="--enable-static --disable-shared"
-
if [[ $IS_WINDOWS_HOST == yes ]]; then
- . ./config-win.sh
+ source common/config-win
elif [[ $IS_LINUX_HOST == yes ]]; then
- . ./config-nix.sh
+ source common/config-nix
elif [[ $IS_MACOSX_HOST == yes ]]; then
- . ./config-osx.sh
+ source common/config-osx
else
echo "bad OS name \"$OSTYPE\". terminate."
exit 1
Oops, something went wrong.

0 comments on commit d87deab

Please sign in to comment.