You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.2 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../skalibs/skalibs.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/skalibs"
set_confopt
fi
# skalibs is following slashpackage confentions
srcdir=prog/$pkg-$ver
skalibs_conf() {
# configure installation directories
echo "$root/$prefix" > conf-compile/conf-home
echo "$root$bindir" > conf-compile/conf-bin
echo "$root$includedir" > conf-compile/conf-include
echo "$root$libdir" > conf-compile/conf-lib
echo "$root$mandir" > conf-compile/conf-man
}
hook_add preconf 1 'skalibs_conf'
skalibs_install() {
cp -avp library/* $root$libdir
cp -avp library.so/* $root$libdir
cp -avp include/* $root$includedir
cp -avp sysdeps $root/$prefix
}
hook_add postmake 9 'skalibs_install'