Skip to content

Commit

Permalink
- Move some functions from ming-env to external common/packaging.mfun
Browse files Browse the repository at this point in the history
- 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 d87deab
Show file tree
Hide file tree
Showing 75 changed files with 1,466 additions and 1,848 deletions.
2 changes: 0 additions & 2 deletions common/config-nix.sh → common/config-nix
@@ -1,5 +1,3 @@
#!/bin/bash

#
# The BSD 3-Clause License. http://www.opensource.org/licenses/BSD-3-Clause
#
Expand Down
2 changes: 0 additions & 2 deletions common/config-osx.sh → common/config-osx
@@ -1,5 +1,3 @@
#!/bin/bash

#
# The BSD 3-Clause License. http://www.opensource.org/licenses/BSD-3-Clause
#
Expand Down
2 changes: 0 additions & 2 deletions common/config-win.sh → common/config-win
@@ -1,5 +1,3 @@
#!/bin/bash

#
# The BSD 3-Clause License. http://www.opensource.org/licenses/BSD-3-Clause
#
Expand Down
12 changes: 7 additions & 5 deletions common/config.sh
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit d87deab

Please sign in to comment.