summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-08 11:38:26 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-08 11:38:26 +0200
commitf8e0e6af708c747f97bbe9ba58930ca10364f807 (patch)
treef989ff2edd1c2eb06f39e1f91f712ceb8f270b28
parent13408b7ef06ae3d306a4a145b88ea3c407b568de (diff)
toolchain: only use recipes from the toolchain dir
-rw-r--r--config/mingw-w32-lin.cbc1
-rw-r--r--config/mingw-w32-win.cbc1
-rw-r--r--config/mingw-w64-lin.cbc1
-rw-r--r--config/mingw-w64-win.cbc1
-rw-r--r--recipes/toolchain/gmp.recipe11
5 files changed, 15 insertions, 0 deletions
diff --git a/config/mingw-w32-lin.cbc b/config/mingw-w32-lin.cbc
index aa4e1cde..2358dc2b 100644
--- a/config/mingw-w32-lin.cbc
+++ b/config/mingw-w32-lin.cbc
@@ -5,3 +5,4 @@ target_arch=Architecture.X86
cache_file='mingw-w32-lin'
prefix=os.path.expanduser('~/mingw/linux/w32')
sources=os.path.expanduser('~/cerbero/sources/mingw-w32-lin')
+recipes_dir = os.path.join(recipes_dir, 'toolchain')
diff --git a/config/mingw-w32-win.cbc b/config/mingw-w32-win.cbc
index 32d57cc2..58beb3d1 100644
--- a/config/mingw-w32-win.cbc
+++ b/config/mingw-w32-win.cbc
@@ -9,4 +9,5 @@ cache_file='mingw-w32-win'
prefix=os.path.expanduser('~/mingw/windows/w32')
sources=os.path.expanduser('~/cerbero/sources/mingw-w32-win')
toolchain_prefix=os.path.expanduser('~/mingw/linux/w32/')
+recipes_dir = os.path.join(recipes_dir, 'toolchain')
build='x86_64-pc-linux-gnu'
diff --git a/config/mingw-w64-lin.cbc b/config/mingw-w64-lin.cbc
index c05b3e9b..0ab27e7b 100644
--- a/config/mingw-w64-lin.cbc
+++ b/config/mingw-w64-lin.cbc
@@ -5,3 +5,4 @@ target_arch=Architecture.X86_64
cache_file='mingw-w64-lin'
prefix=os.path.expanduser('~/mingw/linux/w64')
sources=os.path.expanduser('~/cerbero/sources/mingw-w64-lin')
+recipes_dir = os.path.join(recipes_dir, 'toolchain')
diff --git a/config/mingw-w64-win.cbc b/config/mingw-w64-win.cbc
index be6f4050..ce9301f1 100644
--- a/config/mingw-w64-win.cbc
+++ b/config/mingw-w64-win.cbc
@@ -9,4 +9,5 @@ cache_file='mingw-w64-win'
prefix=os.path.expanduser('~/mingw/windows/w64')
sources=os.path.expanduser('~/cerbero/sources/mingw-w64-win')
toolchain_prefix=os.path.expanduser('~/mingw/linux/w64/')
+recipes_dir = os.path.join(recipes_dir, 'toolchain')
build='x86_64-pc-linux-gnu'
diff --git a/recipes/toolchain/gmp.recipe b/recipes/toolchain/gmp.recipe
new file mode 100644
index 00000000..2902675b
--- /dev/null
+++ b/recipes/toolchain/gmp.recipe
@@ -0,0 +1,11 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+
+
+class Recipe(recipe.Recipe):
+ name = 'gmp'
+ version = '5.0.5'
+ licenses = [License.LGPLv3Plus]
+ configure_options = "--disable-shared --enable-static"
+
+ files_libs = ['libgmp']
+ files_devel = ['include/gmp.h']