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