|
|
|
@ -13,18 +13,18 @@
|
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
|
|
if [ "$prefix_auto" = 1 ]; then |
|
|
|
|
prefix="usr/execline" |
|
|
|
|
prefix="usr" |
|
|
|
|
set_confopt |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# execline is following slashpackage confentions |
|
|
|
|
srcdir=admin/$pkg-$ver |
|
|
|
|
|
|
|
|
|
execline_install() { |
|
|
|
|
cp -avp library/* $root$libdir |
|
|
|
|
cp -avp library.so/* $root$libdir |
|
|
|
|
cp -avp include/* $root$includedir |
|
|
|
|
cp -avp command/* $root$bindir |
|
|
|
|
bindir=/$prefix/bin/execline |
|
|
|
|
includedir=/$prefix/include/execline |
|
|
|
|
|
|
|
|
|
# install missing files |
|
|
|
|
execline_install_missing() { |
|
|
|
|
cp -avp doc/* $root$docdir |
|
|
|
|
} |
|
|
|
|
hook_add postmake 9 'execline_install' |
|
|
|
|
hook_add postmake 9 'execline_install_missing' |
|
|
|
|