-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from pakozm/devel
Devel merge with Master
- Loading branch information
Showing
46 changed files
with
555 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
UNAME=`uname` | ||
echo "System: $UNAME" | ||
if [ $UNAME = "Linux" ]; then | ||
if [ `which apt-get` ]; then | ||
apt-get install libz-dev libreadline-dev libblas-dev libatlas-dev libpng12-dev libtiff-dev liblua5.2-dev || | ||
(echo "ERROR INSTALLING DEPENDENCIES" && exit 10) | ||
else | ||
echo "Error, impossible to install dependencies, this script only works with apt-get" | ||
exit 10 | ||
fi | ||
elif [ $UNAME = "Darwin" ]; then | ||
if [ `which port` ]; then | ||
port install zlib readline libpng tiff findutils || | ||
(echo "ERROR INSTALLING DEPENDENCIES" && exit 10) | ||
echo "This script will change the default system BSD find by GNU find" | ||
echo "BSD find will be renamed as bfind" | ||
if [ ! -e /usr/find/bfind ]; then | ||
mv /usr/bin/find /usr/find/bfind | ||
else | ||
rm -f /usr/bin/find | ||
fi | ||
ln -s `which gfind` /usr/bin/find | ||
else | ||
echo "Error, impossible to install dependencies, this scripts needs MacPorts" | ||
exit 10 | ||
fi | ||
else | ||
echo "Error, impossible to install dependencies, not recognized system: $UNAME" | ||
exit 10 | ||
fi | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ luapkg{ | |
"-Wl,-E -ldl" | ||
}, | ||
shared_extra_libs={ | ||
"-shared", | ||
"-llua5.2", | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ luapkg{ | |
"-Wl,-E -ldl" | ||
}, | ||
shared_extra_libs={ | ||
"-shared", | ||
"-llua5.2", | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ luapkg{ | |
"-llapack_atlas", | ||
}, | ||
shared_extra_libs={ | ||
"-shared", | ||
"-llua5.2", | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,7 @@ luapkg{ | |
"-liomp5" | ||
}, | ||
shared_extra_libs={ | ||
"-shared", | ||
"-llua5.2", | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,7 @@ luapkg{ | |
"-liomp5", | ||
}, | ||
shared_extra_libs={ | ||
"-shared", | ||
"-llua5.2", | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ luapkg{ | |
"-llapack_atlas", | ||
}, | ||
shared_extra_libs={ | ||
"-shared", | ||
"-llua5.2", | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ luapkg{ | |
"-llapack_atlas", | ||
}, | ||
shared_extra_libs={ | ||
"-shared", | ||
"-llua5.2", | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ ALL_A= $(LUA_A) | |
|
||
# Targets start here. | ||
DetectOS: | ||
-@make $(UNAME) | ||
@make $(UNAME) | ||
|
||
Linux: linux | ||
|
||
|
Oops, something went wrong.