Commit 29eb248c authored by Xiaowu Zhang's avatar Xiaowu Zhang

more shared build

parent d4c28308
......@@ -11,9 +11,10 @@ extends =
[cyrus-sasl]
recipe = slapos.recipe.cmmi
shared = true
url = ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.26.tar.gz
md5sum = a7f4e5e559a0e37b3ffc438c9456e425
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = @@LOCATION@@
pre-configure =
"${libtool:location}/bin/libtoolize" -c -f &&
"${automake:location}/bin/aclocal" -I "${libtool:location}/share/aclocal" -I config -I cmulocal &&
......
......@@ -8,6 +8,7 @@ parts = dcron-output
[dcron]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.jimpryor.net/linux/releases/dcron-4.4.tar.gz
md5sum = 02d848ba043a9df5bf2102a9f4bc04bd
configure-command = true
......@@ -15,7 +16,7 @@ patches =
${:_profile_base_location_}/dcron-4.4.noroot.no.globals.patch#d5408ab682b65cc1eda40d588fcd7db8
patch-options = -p1
make-options =
PREFIX=${buildout:parts-directory}/${:_buildout_section_name_}
PREFIX=@@LOCATION@@
post-make-hook = ${:_profile_base_location_}/dcron-hooks.py#860e914dff4108b47565965fe5ebc7b5:post_make_hook
environment =
PATH=${patch:location}/bin:%(PATH)s
......
......@@ -12,6 +12,7 @@ parts = haproxy
[haproxy]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.haproxy.org/download/1.8/src/haproxy-1.8.4.tar.gz
md5sum = 540cd21169e8828d5d11894b2fa74ab4
configure-command = true
......
......@@ -43,7 +43,7 @@ recipe = slapos.recipe.cmmi
shared = true
url = https://inkscape.org/gallery/item/10682/inkscape-0.92.1.tar_XlpI7qT.bz2
md5sum = db2eb2a566cf35ff949fc9ccb172889a
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = @@LOCATION@@
pkg_config_depends = ${freetype:location}/lib/pkgconfig:${gtkmm:location}/lib/pkgconfig:${gtkmm:pkg_config_depends}:${gsl:location}/lib/pkgconfig:${popt:location}/lib/pkgconfig:${garbage-collector:location}/lib/pkgconfig:${libxslt:location}/lib/pkgconfig
configure-command = ${cmake:location}/bin/cmake
configure-options =
......
......@@ -3,10 +3,11 @@ parts = libdb
[libdb]
recipe = slapos.recipe.cmmi
shared = true
url = http://download.oracle.com/berkeley-db/db-4.5.20.tar.gz
md5sum = b0f1c777708cb8e9d37fb47e7ed3312d
configure-command = cd build_unix && ../dist/configure
configure-options =
--disable-static
--prefix=${buildout:parts-directory}/${:_buildout_section_name_}
--prefix=@@LOCATION@@
make-binary = cd build_unix && make
......@@ -11,9 +11,10 @@ parts =
[librsync]
recipe = slapos.recipe.cmmi
shared = true
url = https://github.com/librsync/librsync/archive/v2.0.0.tar.gz
md5sum = cbda9c3eba21bcf2d56a4080ba7a5dc4
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = @@LOCATION@@
patch-options = -p1
patches =
${:_profile_base_location_}/librsync-2.0.0-issue50.patch#5bac5363646a2c2ec6d2c4b26ca4cd7f
......
......@@ -4,6 +4,7 @@ parts =
[libsodium]
recipe = slapos.recipe.cmmi
shared = true
url = https://download.libsodium.org/libsodium/releases/libsodium-1.0.8.tar.gz
md5sum = 0a66b86fd3aab3fe4c858edcd2772760
configure-options =
......
......@@ -5,5 +5,6 @@ parts =
[libyaml]
recipe = slapos.recipe.cmmi
shared = true
url = http://pyyaml.org/download/libyaml/yaml-0.1.6.tar.gz
md5sum = 5fe00cda18ca5daeb43762b80c38e06e
......@@ -8,6 +8,7 @@ parts =
[libzmq]
recipe = slapos.recipe.cmmi
shared = true
url = http://download.zeromq.org/zeromq-4.1.4.tar.gz
md5sum = a611ecc93fffeb6d058c0e6edf4ad4fb
configure-options =
......
......@@ -7,11 +7,12 @@ parts = logrotate
[logrotate]
recipe = slapos.recipe.cmmi
shared = true
url = https://github.com/logrotate/logrotate/releases/download/3.11.0/logrotate-3.11.0.tar.xz
md5sum = 3a9280e4caeb837427a2d54518fbcdac
# BBB this is only for backward-compatibility.
post-install =
ln -nsf . ${buildout:parts-directory}/${:_buildout_section_name_}/usr
ln -nsf . @@LOCATION@@/usr
environment =
PATH=${xz-utils:location}/bin:%(PATH)s
CPPFLAGS=-I${popt:location}/include
......
......@@ -12,6 +12,7 @@ parts = nginx-output
[nginx-common]
recipe = slapos.recipe.cmmi
shared = true
url = http://nginx.org/download/nginx-1.10.1.tar.gz
md5sum = 088292d9caf6059ef328aa7dda332e44
patch-options = -p0
......
......@@ -11,6 +11,7 @@ extends =
[openblas]
recipe = slapos.recipe.cmmi
shared = true
url = http://github.com/xianyi/OpenBLAS/archive/v0.2.18.tar.gz
md5sum = 805e7f660877d588ea7e3792cda2ee65
patch-options = -p0
......@@ -34,7 +35,7 @@ configure-command =
make-options =
dummy
make-targets =
PREFIX="${buildout:parts-directory}/${:_buildout_section_name_}" install
PREFIX="@@LOCATION@@" install
environment =
PATH=${gcc:location}/bin:${patch:location}/bin:${perl:location}/bin:%(PATH)s
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
......
......@@ -8,6 +8,7 @@ extends =
[openldap]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.42.tgz
md5sum = 47c8e2f283647a6105b8b0325257e922
configure-options =
......
......@@ -7,6 +7,7 @@ extends =
[opensp]
recipe = slapos.recipe.cmmi
shared = true
url = http://prdownloads.sourceforge.net/openjade/OpenSP-1.5.2.tar.gz
md5sum = 670b223c5d12cee40c9137be86b6c39b
configure-options =
......
......@@ -19,6 +19,6 @@ pre-configure =
sed -i -e 's,^#!/usr/bin/env perl,#!perl,' bin/*
configure-command =
${perl:location}/bin/perl Makefile.PL
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = @@LOCATION@@
make-options =
INSTALLSITESCRIPT=${:location}/bin
......@@ -6,6 +6,7 @@ parts =
[perl-CGI]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.cpan.org/modules/by-module/CGI/CGI-4.36.tar.gz
md5sum = 48566d81f430a7f755bb4d8f426ce35d
configure-command =
......
......@@ -6,6 +6,7 @@ parts =
[perl-Class-Accessor]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.cpan.org/modules/by-module/Class/Class-Accessor-0.34.tar.gz
md5sum = 0d9640d237a13276145f7e44b4855b89
configure-command =
......
......@@ -6,6 +6,7 @@ parts =
[perl-Config-General]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.cpan.org/modules/by-module/Config/Config-General-2.56.tar.gz
md5sum = 8cf9dd044d016f27b4dc26077606736d
configure-command =
......
......@@ -7,6 +7,7 @@ parts =
[perl-Encode-HanExtra]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.cpan.org/modules/by-module/Encode/Encode-HanExtra-0.23.tar.gz
md5sum = e1d3bc32c1c8ee304235a06fbcd5d5a4
configure-command =
......
......@@ -7,6 +7,7 @@ parts =
[perl-HTML-Encoding]
recipe = slapos.recipe.cmmi
shared = true
depends =
${perl-HTTP-Message:location}
url = http://www.cpan.org/modules/by-module/HTML/HTML-Encoding-0.61.tar.gz
......
......@@ -6,6 +6,7 @@ parts =
[perl-HTML-Template]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.cpan.org/modules/by-module/HTML/HTML-Template-2.95.tar.gz
md5sum = 6f08e9631af52e6a5f6e4648b89265fe
configure-command =
......
......@@ -6,6 +6,7 @@ parts =
[perl-JSON]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.cpan.org/modules/by-module/JSON/JSON-2.90.tar.gz
md5sum = e1512169a623e790a3f69b599cc1d3b9
configure-command =
......
......@@ -6,10 +6,11 @@ parts =
[perl-Net-IP]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.cpan.org/modules/by-module/Net/Net-IP-1.26.tar.gz
md5sum = 3a98e3ac45d69ea38a63a7e678bd716d
configure-command =
${perl:location}/bin/perl Makefile.PL
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = @@LOCATION@@
make-options =
INSTALLSITESCRIPT=${:location}/bin
......@@ -8,6 +8,7 @@ parts =
[perl-SGML-Parser-OpenSP]
recipe = slapos.recipe.cmmi
shared = true
depends =
${perl-Class-Accessor:location}
url = http://www.cpan.org/modules/by-module/SGML/SGML-Parser-OpenSP-0.994.tar.gz
......
......@@ -10,6 +10,7 @@ parts =
[perl-XML-LibXML]
recipe = slapos.recipe.cmmi
shared = true
depends =
${perl-XML-NamespaceSupport:location}
${perl-XML-SAX:location}
......
......@@ -6,6 +6,7 @@ parts =
[perl-XML-NamespaceSupport]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.cpan.org/modules/by-module/XML/XML-NamespaceSupport-1.11.tar.gz
md5sum = 222cca76161cd956d724286d36b607da
configure-command =
......
......@@ -6,6 +6,7 @@ parts =
[perl-XML-SAX-Base]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.cpan.org/modules/by-module/XML/XML-SAX-Base-1.08.tar.gz
md5sum = 38c8c3247dfd080712596118d70dbe32
configure-command =
......
......@@ -8,6 +8,7 @@ parts =
[perl-XML-SAX]
recipe = slapos.recipe.cmmi
shared = true
depends =
${perl-XML-NamespaceSupport:location}
${perl-XML-SAX-Base:location}
......
......@@ -9,6 +9,7 @@ extends =
[serf]
recipe = slapos.recipe.cmmi
shared = true
url = https://serf.googlecode.com/files/serf-1.2.1.tar.bz2
md5sum = 4f8e76c9c6567aee1d66aba49f76a58b
configure-options =
......
......@@ -15,4 +15,4 @@ configure-options =
--with-bzip=${bzip2:location}
environment =
LDFLAGS =-Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=${buildout:parts-directory}/${:_buildout_section_name_}/lib
LDFLAGS =-Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${bzip2:location}/lib -Wl,-rpath=@@LOCATION@@/lib
......@@ -4,6 +4,7 @@ parts=
[zbar]
recipe = slapos.recipe.cmmi
shared = true
url = https://jaist.dl.sourceforge.net/project/zbar/zbar/0.10/zbar-0.10.tar.bz2
md5sum = 0fd61eb590ac1bab62a77913c8b086a5
configure-options =
......
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