1 changed files with 46 additions and 0 deletions
@ -0,0 +1,46 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||||
|
# |
||||||
|
# Filename: package/.../execline/execline.conf |
||||||
|
# Copyright (C) 2011 The OpenSDE Project |
||||||
|
# |
||||||
|
# More information can be found in the files COPYING and README. |
||||||
|
# |
||||||
|
# This program is free software; you can redistribute it and/or modify |
||||||
|
# it under the terms of the GNU General Public License as published by |
||||||
|
# the Free Software Foundation; version 2 of the License. A copy of the |
||||||
|
# GNU General Public License can be found in the file COPYING. |
||||||
|
# --- SDE-COPYRIGHT-NOTE-END --- |
||||||
|
|
||||||
|
if [ "$prefix_auto" = 1 ]; then |
||||||
|
prefix="usr/execline" |
||||||
|
set_confopt |
||||||
|
fi |
||||||
|
|
||||||
|
# execline is following slashpackage confentions |
||||||
|
srcdir=admin/$pkg-$ver |
||||||
|
|
||||||
|
# do not run the useless configure script dummy |
||||||
|
runconf=0 |
||||||
|
|
||||||
|
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' |
||||||
|
|
||||||
|
# do not run make install because we do not want slashpackage convention |
||||||
|
# by default |
||||||
|
makeinstopt= |
||||||
|
|
||||||
|
execline_install() { |
||||||
|
cp -avp library/* $root$libdir |
||||||
|
cp -avp library.so/* $root$libdir |
||||||
|
cp -avp include/* $root$includedir |
||||||
|
cp -avp command/* $root$bindir |
||||||
|
cp -avp doc/* $root$docdir |
||||||
|
} |
||||||
|
hook_add postmake 9 'execline_install' |
Loading…
Reference in new issue