component: Add shared option to shareable parts.
aspell-en-dictionary, groonga-normalizer-mysql, file-msooxml, apache-antiloris are not shareable, they write files in other parts.
Showing
... | @@ -6,13 +6,14 @@ parts = | ... | @@ -6,13 +6,14 @@ parts = |
[ncurses] | [ncurses] | ||
recipe = slapos.recipe.cmmi | recipe = 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 | ||
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 | ||
configure-options = | configure-options = | ||
--prefix=${buildout:parts-directory}/${:_buildout_section_name_} | --prefix=@@LOCATION@@ | ||
|
|||
--with-shared | --with-shared | ||
--without-ada | --without-ada | ||
--without-manpages | --without-manpages | ||
... | @@ -23,7 +24,7 @@ configure-options = | ... | @@ -23,7 +24,7 @@ configure-options = |
--enable-rpath | --enable-rpath | ||
# tricky way to rerun with --enable-widec | # tricky way to rerun with --enable-widec | ||
make-targets = | make-targets = | ||
install && (for i in curses unctrl eti form menu panel term; do ln -sf ncurses/$i.h ${buildout:parts-directory}/${:_buildout_section_name_}/include/$i.h; done; ln -sf libncurses.so ${buildout:parts-directory}/${:_buildout_section_name_}/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 | ||
... | ... |
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.