Commit b2efcc1c authored by Jérome Perrin's avatar Jérome Perrin

stack cmmi

parent 29084669
[buildout] [buildout]
parts =
gettext
extends = extends =
../../stack/cmmi.cfg
../libxml2/buildout.cfg ../libxml2/buildout.cfg
../lunzip/buildout.cfg ../lunzip/buildout.cfg
../ncurses/buildout.cfg ../ncurses/buildout.cfg
../perl/buildout.cfg ../perl/buildout.cfg
../zlib/buildout.cfg ../zlib/buildout.cfg
parts =
gettext
[gettext] [gettext]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
...@@ -29,6 +30,12 @@ configure-options = ...@@ -29,6 +30,12 @@ configure-options =
--without-bz2 --without-bz2
--without-xz --without-xz
cppflags-depends =
${zlib:cppflags}
ldflags-depends =
${zlib:ldflags}
environment = environment =
PATH=${perl:location}/bin:${lunzip:location}/bin:%(PATH)s PATH=${perl:location}/bin:${lunzip:location}/bin:%(PATH)s
CPPFLAGS=-I${libxml2:location}/include -I${zlib:location}/include -I${ncurses:location}/include CPPFLAGS=-I${libxml2:location}/include -I${zlib:location}/include -I${ncurses:location}/include
......
[buildout] [buildout]
extends = extends =
../../stack/cmmi.cfg
../gettext/buildout.cfg ../gettext/buildout.cfg
../libffi/buildout.cfg ../libffi/buildout.cfg
../pcre/buildout.cfg ../pcre/buildout.cfg
...@@ -11,10 +12,10 @@ parts = ...@@ -11,10 +12,10 @@ parts =
glib glib
[glib] [glib]
recipe = slapos.recipe.cmmi <= slapos-recipe-cmmi
shared = true
url = http://ftp.gnome.org/pub/gnome/core/3.22/3.22.2/sources/glib-2.50.2.tar.xz url = http://ftp.gnome.org/pub/gnome/core/3.22/3.22.2/sources/glib-2.50.2.tar.xz
md5sum = 5eeb2bfaf78a07be59585e8b6e80b1d6 md5sum = 5eeb2bfaf78a07be59585e8b6e80b1d6
configure-options = configure-options =
--with-python=${buildout:executable} --with-python=${buildout:executable}
--disable-libmount --disable-libmount
...@@ -23,6 +24,10 @@ configure-options = ...@@ -23,6 +24,10 @@ configure-options =
--disable-fam --disable-fam
--disable-xattr --disable-xattr
--disable-man --disable-man
path-depends =
${gettext:path}
environment = environment =
PATH=${gettext:location}/bin:${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s PATH=${gettext:location}/bin:${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
CPPFLAGS=-I${gettext:location}/include -I${zlib:location}/include CPPFLAGS=-I${gettext:location}/include -I${zlib:location}/include
......
...@@ -10,6 +10,8 @@ extends = ...@@ -10,6 +10,8 @@ extends =
../perl/buildout.cfg ../perl/buildout.cfg
../perl-XML-Parser/buildout.cfg ../perl-XML-Parser/buildout.cfg
../xorg/buildout.cfg ../xorg/buildout.cfg
../gobject-introspection/buildout.cfg
[at-spi2-core] [at-spi2-core]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
......
[buildout] [buildout]
extends = extends =
../../stack/cmmi.cfg
../patch/buildout.cfg ../patch/buildout.cfg
parts = parts =
ncurses ncurses
[ncurses] [ncurses]
recipe = slapos.recipe.cmmi <= slapos.recipe.cmmi
shared = true
url = ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz url = ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz
md5sum = ee13d052e1ead260d7c28071f46eefb1 md5sum = ee13d052e1ead260d7c28071f46eefb1
path-depends = ${patch:path}
patch-options = -p1 patch-options = -p1
patches = patches =
${:_profile_base_location_}/ncurses-5.9-gcc-5.patch#57f4cd0cc0c0a42a5ddb2167f9546d72 ${:_profile_base_location_}/ncurses-5.9-gcc-5.patch#57f4cd0cc0c0a42a5ddb2167f9546d72
...@@ -26,8 +29,7 @@ configure-options = ...@@ -26,8 +29,7 @@ configure-options =
make-targets = make-targets =
install && (for i in curses unctrl eti form menu panel term; do ln -sf ncurses/$i.h @@LOCATION@@/include/$i.h; done; ln -sf libncurses.so @@LOCATION@@/lib/libcurses.so) && ./configure ${:configure-options} --enable-widec && make ${:make-options} && make ${:make-options} install install && (for i in curses unctrl eti form menu panel term; do ln -sf ncurses/$i.h @@LOCATION@@/include/$i.h; done; ln -sf libncurses.so @@LOCATION@@/lib/libcurses.so) && ./configure ${:configure-options} --enable-widec && make ${:make-options} && make ${:make-options} install
# pass dummy LDCONFIG to skip needless calling of ldconfig by non-root user # pass dummy LDCONFIG to skip needless calling of ldconfig by non-root user
environment = environment +=
LDCONFIG=/bin/echo LDCONFIG=/bin/echo
PATH=${patch:location}/bin:%(PATH)s
make-options = make-options =
-j1 -j1
[buildout] [buildout]
extends = extends =
../../stack/cmmi.cfg
../xz-utils/buildout.cfg ../xz-utils/buildout.cfg
parts = parts =
patch patch
[patch] [patch]
recipe = slapos.recipe.cmmi <= slapos.recipe.cmmi
shared = true
url = ftp://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz url = ftp://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz
md5sum = e3da7940431633fb65a01b91d3b7a27a md5sum = e3da7940431633fb65a01b91d3b7a27a
environment = path-depends=${xz-utils:path}
PATH=${xz-utils:location}/bin:%(PATH)s
[buildout] [buildout]
extends =
../../stack/cmmi.cfg
parts = parts =
xz-utils xz-utils
[xz-utils] [xz-utils]
recipe = slapos.recipe.cmmi <= slapos.recipe.cmmi
shared = true
url = http://tukaani.org/xz/xz-5.2.2.tar.bz2 url = http://tukaani.org/xz/xz-5.2.2.tar.bz2
md5sum = f90c9a0c8b259aee2234c4e0d7fd70af md5sum = f90c9a0c8b259aee2234c4e0d7fd70af
configure-options = configure-options =
......
[buildout] [buildout]
extends =
../../stack/cmmi.cfg
parts = parts =
zlib zlib
[zlib] [zlib]
recipe = slapos.recipe.cmmi <= slapos-recipe-cmmi
shared = true
url = http://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz url = http://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz
md5sum = 1c9f62f0778697a09d36121ead88e08e md5sum = 1c9f62f0778697a09d36121ead88e08e
# This stack provide macro to help managing dependencies with slapos.recipe.cmmi
[slapos-recipe-cmmi]
recipe = slapos.recipe.cmmi
# variables
path-depends =
pkg-config-depends =
cppflags-depends =
ldflags-depends =
shared = true
path = ${:location}/bin/:${:path-depends}
pkg-config = ${:location}/lib/pkgconfig:${:pkg-config-depends}
cppflags = ${:cppflags-depends} -I${:location}/include
ldflags = ${:ldflags-depends} -L${:location}/lib -Wl,-rpath=${:location}/lib
environment =
PATH=${:path}:%(PATH)s
PKG_CONFIG_PATH=${:pkg-config}
CPPFLAGS=${:cppflags}
LDFLAGS=${:ldflags}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment