|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
#
|
|
# Filename: package/.../skalibs/skaware-conf.in
|
|
# Copyright (C) 2011 - 2015 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 ---
|
|
|
|
# do not check configure options
|
|
cleanconfopt=0
|
|
|
|
skaware_conf() {
|
|
# configure packages that depend on skalibs
|
|
if [ ! $pkg = "skalibs" ]; then
|
|
if atstage cross; then
|
|
pkgprefix -t skalibs
|
|
var_append confopt ' ' '--with-include=$root$( pkgprefix includedir skalibs )'
|
|
var_append confopt ' ' '--with-lib=$root/usr$( pkgprefix libdir skalibs )'
|
|
var_append confopt ' ' '--with-dynlib=$root/usr$( pkgprefix libdir skalibs )'
|
|
var_append confopt ' ' '--with-sysdeps=$root/usr$( pkgprefix libdir skalibs )/skalibs/sysdeps'
|
|
fi
|
|
fi
|
|
}
|
|
hook_add preconf 1 'skaware_conf'
|