Browse Source

skalibs: moved common build configuration into skaware-conf.in

user/amery/next/uclibc
Christian Wiese 13 years ago
parent
commit
9f87e441f9
  1. 7
      base/s6-linux-utils/s6-linux-utils.conf
  2. 9
      develop/execline/execline.conf
  3. 9
      develop/skalibs/skaware-conf.in

7
base/s6-linux-utils/s6-linux-utils.conf

@ -21,17 +21,12 @@ fi
srcdir=admin/$pkg-$ver
s6_linux_utils_conf() {
pkgprefix -t skalibs
echo "$( pkgprefix -r libdir skalibs )" > conf-compile/path-library
echo "$( pkgprefix -r libdir skalibs )" > conf-compile/path-library.so
echo "$( pkgprefix -r includedir skalibs )" > conf-compile/path-include
echo "$( pkgprefix -r skalibs )/sysdeps" > conf-compile/import
pkgprefix -t execline
echo "$( pkgprefix -r libdir execline )" >> conf-compile/path-library
echo "$( pkgprefix -r includedir execline )" >> conf-compile/path-include
}
hook_add preconf 1 's6_linux_utils_conf'
hook_add preconf 9 's6_linux_utils_conf'
s6_linux_utils_install() {
cp -avp command/* $root$bindir

9
develop/execline/execline.conf

@ -20,15 +20,6 @@ fi
# execline is following slashpackage confentions
srcdir=admin/$pkg-$ver
execline_conf() {
pkgprefix -t skalibs
echo "$( pkgprefix -r libdir skalibs )" > conf-compile/path-library
echo "$( pkgprefix -r libdir skalibs )" > conf-compile/path-library.so
echo "$( pkgprefix -r includedir skalibs )" > conf-compile/path-include
echo "$( pkgprefix -r skalibs )/sysdeps" > conf-compile/import
}
hook_add preconf 1 'execline_conf'
execline_install() {
cp -avp library/* $root$libdir
cp -avp library.so/* $root$libdir

9
develop/skalibs/skaware-conf.in

@ -26,5 +26,14 @@ skaware_conf() {
echo "$CC" > conf-compile/conf-dynld
echo "$STRIP -R .note -R .comment -R .note.GNU-stack" > conf-compile/conf-stripbins
echo "$STRIP -x -R .note -R .comment -R .note.GNU-stack" > conf-compile/conf-striplibs
# configure packages that depend on skalibs
if [ ! $pkg = "skalibs" ]; then
pkgprefix -t skalibs
echo "$( pkgprefix -r libdir skalibs )" > conf-compile/path-library
echo "$( pkgprefix -r libdir skalibs )" > conf-compile/path-library.so
echo "$( pkgprefix -r includedir skalibs )" > conf-compile/path-include
echo "$( pkgprefix -r skalibs )/sysdeps" > conf-compile/import
fi
}
hook_add preconf 1 'skaware_conf'

Loading…
Cancel
Save