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

stack cmmi

parent 29084669
[buildout]
parts =
gettext
extends =
../../stack/cmmi.cfg
../libxml2/buildout.cfg
../lunzip/buildout.cfg
../ncurses/buildout.cfg
../perl/buildout.cfg
../zlib/buildout.cfg
parts =
gettext
[gettext]
recipe = slapos.recipe.cmmi
......@@ -29,6 +30,12 @@ configure-options =
--without-bz2
--without-xz
cppflags-depends =
${zlib:cppflags}
ldflags-depends =
${zlib:ldflags}
environment =
PATH=${perl:location}/bin:${lunzip:location}/bin:%(PATH)s
CPPFLAGS=-I${libxml2:location}/include -I${zlib:location}/include -I${ncurses:location}/include
......
[buildout]
extends =
../../stack/cmmi.cfg
../gettext/buildout.cfg
../libffi/buildout.cfg
../pcre/buildout.cfg
......@@ -11,10 +12,10 @@ parts =
glib
[glib]
recipe = slapos.recipe.cmmi
shared = true
<= slapos-recipe-cmmi
url = http://ftp.gnome.org/pub/gnome/core/3.22/3.22.2/sources/glib-2.50.2.tar.xz
md5sum = 5eeb2bfaf78a07be59585e8b6e80b1d6
configure-options =
--with-python=${buildout:executable}
--disable-libmount
......@@ -23,6 +24,10 @@ configure-options =
--disable-fam
--disable-xattr
--disable-man
path-depends =
${gettext:path}
environment =
PATH=${gettext:location}/bin:${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
CPPFLAGS=-I${gettext:location}/include -I${zlib:location}/include
......
......@@ -10,6 +10,8 @@ extends =
../perl/buildout.cfg
../perl-XML-Parser/buildout.cfg
../xorg/buildout.cfg
../gobject-introspection/buildout.cfg
[at-spi2-core]
recipe = slapos.recipe.cmmi
......
[buildout]
extends =
../../stack/cmmi.cfg
../patch/buildout.cfg
parts =
ncurses
[ncurses]
recipe = slapos.recipe.cmmi
shared = true
<= slapos.recipe.cmmi
url = ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz
md5sum = ee13d052e1ead260d7c28071f46eefb1
path-depends = ${patch:path}
patch-options = -p1
patches =
${:_profile_base_location_}/ncurses-5.9-gcc-5.patch#57f4cd0cc0c0a42a5ddb2167f9546d72
......@@ -26,8 +29,7 @@ configure-options =
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
# pass dummy LDCONFIG to skip needless calling of ldconfig by non-root user
environment =
environment +=
LDCONFIG=/bin/echo
PATH=${patch:location}/bin:%(PATH)s
make-options =
-j1
[buildout]
extends =
../../stack/cmmi.cfg
../xz-utils/buildout.cfg
parts =
patch
[patch]
recipe = slapos.recipe.cmmi
shared = true
<= slapos.recipe.cmmi
url = ftp://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz
md5sum = e3da7940431633fb65a01b91d3b7a27a
environment =
PATH=${xz-utils:location}/bin:%(PATH)s
path-depends=${xz-utils:path}
[buildout]
extends =
../../stack/cmmi.cfg
parts =
xz-utils
[xz-utils]
recipe = slapos.recipe.cmmi
shared = true
<= slapos.recipe.cmmi
url = http://tukaani.org/xz/xz-5.2.2.tar.bz2
md5sum = f90c9a0c8b259aee2234c4e0d7fd70af
configure-options =
......
[buildout]
extends =
../../stack/cmmi.cfg
parts =
zlib
[zlib]
recipe = slapos.recipe.cmmi
shared = true
<= slapos-recipe-cmmi
url = http://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz
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