Commit a0120349 authored by Jondy Zhao's avatar Jondy Zhao

Apply share option to all components used by slapos component

parent 3a02076d
...@@ -22,3 +22,11 @@ url = http://ftp.gnu.org/gnu/bison/bison-2.5.tar.bz2 ...@@ -22,3 +22,11 @@ url = http://ftp.gnu.org/gnu/bison/bison-2.5.tar.bz2
md5sum = 9dba20116b13fc61a0846b0058fbe004 md5sum = 9dba20116b13fc61a0846b0058fbe004
environment = environment =
M4=${m4:location}/bin/m4 M4=${m4:location}/bin/m4
[bison:cygwin]
virtual-depends =
patches =
environment =
share = /
promises =
/usr/bin/bison.exe
...@@ -18,3 +18,9 @@ make-options = ...@@ -18,3 +18,9 @@ make-options =
PREFIX=${buildout:parts-directory}/${:_buildout_section_name_} PREFIX=${buildout:parts-directory}/${:_buildout_section_name_}
CFLAGS="-fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64" CFLAGS="-fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64"
post-make-hook = ${bzip2-hooks-download:location}/${bzip2-hooks-download:filename}:post_make_hook post-make-hook = ${bzip2-hooks-download:location}/${bzip2-hooks-download:filename}:post_make_hook
[bzip2:cygwin]
share = /
promises =
/usr/bin/bzip2.exe
/usr/lib/libbz2.dll.a
\ No newline at end of file
...@@ -27,3 +27,9 @@ patches = ...@@ -27,3 +27,9 @@ patches =
patch-options = -p0 patch-options = -p0
configure-command = true configure-command = true
make-targets = install DESTDIR=${buildout:parts-directory}/${:_buildout_section_name_} CERTSDIR=certs SBINDIR=sbin make-targets = install DESTDIR=${buildout:parts-directory}/${:_buildout_section_name_} CERTSDIR=certs SBINDIR=sbin
[ca-certificates:cygwin]
share = /
promises =
/usr/ssl/certs/ca-bundle.crt
/usr/ssl/certs/ca-bundle.trust.crt
\ No newline at end of file
...@@ -15,3 +15,10 @@ configure-options = ...@@ -15,3 +15,10 @@ configure-options =
environment = environment =
CPPFLAGS=-I${zlib:location}/include CPPFLAGS=-I${zlib:location}/include
LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
[file:cygwin]
share = /
promises =
/usr/bin/file.exe
/usr/bin/cygmagic-1.dll
/usr/lib/libmagic.dll.a
\ No newline at end of file
...@@ -17,3 +17,9 @@ make-targets = ...@@ -17,3 +17,9 @@ make-targets =
# it seems that parallel build sometimes fails for gdbm. # it seems that parallel build sometimes fails for gdbm.
make-options = make-options =
-j1 -j1
[gdbm:cygwin]
share = /
promises =
/usr/include/dbm.h
/usr/lib/libgdbm.dll.a
...@@ -26,3 +26,9 @@ configure-options = ...@@ -26,3 +26,9 @@ configure-options =
environment = environment =
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
LDFLAGS=-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib LDFLAGS=-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib
[gettext:cygwin]
share = /
promises =
/usr/bin/gettext.exe
/usr/bin/xgettext.exe
...@@ -17,3 +17,12 @@ environment = ...@@ -17,3 +17,12 @@ environment =
CPPFLAGS=-I${zlib:location}/include -I${gettext:location}/include CPPFLAGS=-I${zlib:location}/include -I${gettext:location}/include
LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib
PATH=${gettext:location}/bin:%(PATH)s PATH=${gettext:location}/bin:%(PATH)s
[glib:cygwin]
share = /
promises =
/usr/bin/cyggio-2.0-0.dll
/usr/bin/cygglib-2.0-0.dll
/usr/bin/cyggmodule-2.0-0.dll
/usr/bin/cyggobject-2.0-0.dll
/usr/bin/cyggthread-2.0-0.dll
...@@ -8,3 +8,9 @@ url = http://sourceforge.net/projects/expat/files/expat/2.1.0/expat-2.1.0.tar.gz ...@@ -8,3 +8,9 @@ url = http://sourceforge.net/projects/expat/files/expat/2.1.0/expat-2.1.0.tar.gz
md5sum = dd7dab7a5fea97d2a6a43f511449b7cd md5sum = dd7dab7a5fea97d2a6a43f511449b7cd
configure-options = configure-options =
--disable-static --disable-static
[libexpat:cygwin]
share = /
promises =
/usr/bin/cygexpat-1.dll
/usr/lib/libexpat.dll.a
...@@ -17,3 +17,12 @@ configure-options = ...@@ -17,3 +17,12 @@ configure-options =
--with-zlib=${zlib:location} --with-zlib=${zlib:location}
environment = environment =
LDFLAGS = -Wl,-rpath=${zlib:location}/lib LDFLAGS = -Wl,-rpath=${zlib:location}/lib
[libxml2:cygwin]
share = /
promises =
/usr/bin/cygxml2-2.dll
/usr/bin/xmlcatalog.exe
/usr/bin/xmllint.exe
/usr/lib/libxml2.dll.a
/usr/include/libxml2/libxml/
\ No newline at end of file
...@@ -20,3 +20,12 @@ configure-options = ...@@ -20,3 +20,12 @@ configure-options =
environment = environment =
CPPFLAGS=-I${zlib:location}/include -I${libxml2:location}/include CPPFLAGS=-I${zlib:location}/include -I${libxml2:location}/include
LDFLAGS=-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib LDFLAGS=-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
[libxslt:cygwin]
share = /
promises =
/usr/bin/cygxslt-1.dll
/usr/bin/xsltproc.exe
/usr/lib/libexslt.dll.a
/usr/lib/libxslt.dll.a
/usr/include/libxslt/xslt.h
\ No newline at end of file
...@@ -18,3 +18,8 @@ patches = ...@@ -18,3 +18,8 @@ patches =
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
url = http://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.bz2 url = http://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.bz2
md5sum = 8a7cef47fecab6272eb86a6be6363b2f md5sum = 8a7cef47fecab6272eb86a6be6363b2f
[m4:cygwin]
share = /
promises =
/usr/bin/m4.exe
...@@ -21,3 +21,10 @@ environment = ...@@ -21,3 +21,10 @@ environment =
LDCONFIG=/bin/echo LDCONFIG=/bin/echo
make-options = make-options =
-j1 -j1
[ncurses:cygwin]
share = /
promises =
/usr/bin/cygncurses++-10.dll
/usr/bin/cygncurses-10.dll
/usr/lib/libncurses.dll.a
...@@ -52,3 +52,13 @@ make-options = ...@@ -52,3 +52,13 @@ make-options =
-j1 -j1
make-targets = make-targets =
install && rm -f ${buildout:parts-directory}/${:_buildout_section_name_}/etc/ssl/certs/* && for i in ${ca-certificates:location}/certs/*/*.crt; do ln -sv $i ${buildout:parts-directory}/${:_buildout_section_name_}/etc/ssl/certs/`${buildout:parts-directory}/${:_buildout_section_name_}/bin/openssl x509 -hash -noout -in $i`.0; done; true install && rm -f ${buildout:parts-directory}/${:_buildout_section_name_}/etc/ssl/certs/* && for i in ${ca-certificates:location}/certs/*/*.crt; do ln -sv $i ${buildout:parts-directory}/${:_buildout_section_name_}/etc/ssl/certs/`${buildout:parts-directory}/${:_buildout_section_name_}/bin/openssl x509 -hash -noout -in $i`.0; done; true
[openssl:cygwin]
share = /
promises =
/usr/bin/openssl.exe
/usr/lib/libcrypto.dll.a
/usr/lib/libssl.dll.a
/usr/bin/cygcrypto-1.0.0.dll
/usr/bin/cygssl-1.0.0.dll
/usr/include/openssl/x509.h
...@@ -10,3 +10,8 @@ url = ftp://ftp.gnu.org/gnu/patch/patch-2.7.1.tar.xz ...@@ -10,3 +10,8 @@ url = ftp://ftp.gnu.org/gnu/patch/patch-2.7.1.tar.xz
md5sum = e9ae5393426d3ad783a300a338c09b72 md5sum = e9ae5393426d3ad783a300a338c09b72
environment = environment =
PATH=${xz-utils:location}/bin:%(PATH)s PATH=${xz-utils:location}/bin:%(PATH)s
[patch:cygwin]
share = /
promises =
/usr/bin/patch.exe
...@@ -32,3 +32,8 @@ environment = ...@@ -32,3 +32,8 @@ environment =
LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -L${popt:location}/lib -Wl,-rpath=${popt:location}/lib LDFLAGS=-L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -L${popt:location}/lib -Wl,-rpath=${popt:location}/lib
GLIB_CFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include GLIB_CFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include
GLIB_LIBS=-L${glib:location}/lib -lglib-2.0 -lintl GLIB_LIBS=-L${glib:location}/lib -lglib-2.0 -lintl
[pkgconfig:cygwin]
share = /
promises =
/usr/bin/pkg-config.exe
...@@ -8,3 +8,9 @@ url = ftp://anduin.linuxfromscratch.org/BLFS/svn/p/popt-1.16.tar.gz ...@@ -8,3 +8,9 @@ url = ftp://anduin.linuxfromscratch.org/BLFS/svn/p/popt-1.16.tar.gz
md5sum = 3743beefa3dd6247a73f8f7a32c14c33 md5sum = 3743beefa3dd6247a73f8f7a32c14c33
configure-options = configure-options =
--disable-static --disable-static
[popt:cygwin]
share = /
promises =
/usr/bin/cygpopt-0.dll
/usr/lib/libpopt.dll.a
...@@ -50,3 +50,11 @@ configure-options = ...@@ -50,3 +50,11 @@ configure-options =
environment = environment =
CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${libexpat:location}/include -I${ncurses:location}/include -I${ncurses:location}/include/ncursesw -I${bzip2:location}/include -I${gdbm:location}/include -I${openssl:location}/include -I${sqlite3:location}/include -I${gettext:location}/include CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${libexpat:location}/include -I${ncurses:location}/include -I${ncurses:location}/include/ncursesw -I${bzip2:location}/include -I${gdbm:location}/include -I${openssl:location}/include -I${sqlite3:location}/include -I${gettext:location}/include
LDFLAGS=-L${zlib:location}/lib -L${readline:location}/lib -L${libexpat:location}/lib -L${ncurses:location}/lib -L${bzip2:location}/lib -L${gdbm:location}/lib -L${openssl:location}/lib -L${sqlite3:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${ncurses:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=${gdbm:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${sqlite3:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -Wl,-rpath=${file:location}/lib LDFLAGS=-L${zlib:location}/lib -L${readline:location}/lib -L${libexpat:location}/lib -L${ncurses:location}/lib -L${bzip2:location}/lib -L${gdbm:location}/lib -L${openssl:location}/lib -L${sqlite3:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${ncurses:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=${gdbm:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${sqlite3:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -Wl,-rpath=${file:location}/lib
[python2.7:cygwin]
share = /
promises =
/usr/bin/python2.7.exe
/usr/bin/libpython2.7.dll
/usr/lib/libpython2.7.dll.a
/usr/lib/python2.7/
...@@ -19,3 +19,15 @@ md5sum = 67948acb2ca081f23359d0256e9a271c ...@@ -19,3 +19,15 @@ md5sum = 67948acb2ca081f23359d0256e9a271c
configure-options = configure-options =
--enable-multibyte --enable-multibyte
--disable-static --disable-static
[readline:cygwin]
share = /
promises =
/usr/lib/libreadline.dll.a
/usr/include/readline/readline.h
[readline5:cygwin]
share = /
promises =
/usr/lib/libreadline.dll.a
/usr/include/readline/readline.h
...@@ -157,7 +157,7 @@ Flask = 0.9 ...@@ -157,7 +157,7 @@ Flask = 0.9
# Required by: # Required by:
# slapos.core==0.35.2-dev # slapos.core==0.35.2-dev
netifaces = 0.8 netifaces = 0.8-1
# Required by: # Required by:
# slapos.core==0.35.2-dev # slapos.core==0.35.2-dev
......
...@@ -13,3 +13,10 @@ configure-options = ...@@ -13,3 +13,10 @@ configure-options =
environment = environment =
CPPFLAGS=-I${readline:location}/include -I${ncurses:location}/include CPPFLAGS=-I${readline:location}/include -I${ncurses:location}/include
LDFLAGS=-L${buildout:parts-directory}/${:_buildout_section_name_} -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib LDFLAGS=-L${buildout:parts-directory}/${:_buildout_section_name_} -Wl,-rpath=${readline:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib
[sqlite3:cygwin]
share = /
promises =
/usr/bin/cygsqlite3-0.dll
/usr/lib/libsqlite3.dll.a
/usr/include/sqlite3.h
...@@ -34,3 +34,8 @@ configure-options = ...@@ -34,3 +34,8 @@ configure-options =
--without-tcl --without-tcl
environment = environment =
PATH = ${bison:location}/bin:%(PATH)s PATH = ${bison:location}/bin:%(PATH)s
[swig:cygwin]
share = /
promises =
/usr/bin/swig.exe
...@@ -6,3 +6,8 @@ parts = ...@@ -6,3 +6,8 @@ parts =
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
url = http://tukaani.org/xz/xz-5.0.4.tar.gz url = http://tukaani.org/xz/xz-5.0.4.tar.gz
md5sum = df3df690aef18384e1e031be7ec3a964 md5sum = df3df690aef18384e1e031be7ec3a964
[xz-utils:cygwin]
share = /
promises =
/usr/bin/xz.exe
...@@ -6,3 +6,9 @@ parts = ...@@ -6,3 +6,9 @@ parts =
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
url = http://downloads.sourceforge.net/project/libpng/zlib/1.2.8/zlib-1.2.8.tar.gz url = http://downloads.sourceforge.net/project/libpng/zlib/1.2.8/zlib-1.2.8.tar.gz
md5sum = 44d667c142d7cda120332623eab69f40 md5sum = 44d667c142d7cda120332623eab69f40
[zlib:cygwin]
share = /
promises =
/usr/bin/cygz.dll
/usr/lib/libz.dll.a
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