|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: package/.../s6/s6.conf |
|
|
|
# Copyright (C) 2011 - 2013 The OpenSDE Project |
|
|
|
# Copyright (C) 2011 - 2015 The OpenSDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# |
|
|
@ -13,26 +13,8 @@ |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
if [ "$prefix_auto" = 1 ]; then |
|
|
|
prefix="usr" |
|
|
|
prefix= |
|
|
|
set_confopt |
|
|
|
fi |
|
|
|
|
|
|
|
# execline is following slashpackage confentions |
|
|
|
srcdir=admin/$pkg-$ver |
|
|
|
|
|
|
|
s6_conf() { |
|
|
|
pkgprefix -t execline |
|
|
|
echo "$( pkgprefix -r libdir execline )" >> conf-compile/path-library |
|
|
|
echo "$( pkgprefix -r libdir execline )" >> conf-compile/path-library.so |
|
|
|
echo "$( pkgprefix -r includedir execline )" >> conf-compile/path-include |
|
|
|
} |
|
|
|
hook_add preconf 9 's6_conf' |
|
|
|
|
|
|
|
# install missing files |
|
|
|
s6_install_missing() { |
|
|
|
# TODO check why the following stuff is not installed |
|
|
|
install -m 0755 command/s6-ftrigrd $root/$bindir |
|
|
|
cp -avp include/* $root$includedir |
|
|
|
cp -avp doc/* $root$docdir |
|
|
|
} |
|
|
|
hook_add postmake 9 's6_install_missing' |
|
|
|
var_append confopt ' ' '--libexecdir=$bindir' |