Browse Source

sam: fixed to use pkg-config to find out the installation directories

stable/0.2
Christian Wiese 14 years ago
parent
commit
3b7602caaa
  1. 6
      base/sam/sam.conf

6
base/sam/sam.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../sam/sam.conf
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2011 The OpenSDE Project
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -33,8 +33,8 @@ EOT
cp -vf $confdir/*.lua $root$datadir/
# install sam extensions
pkgdatadir=$root$( lua-config --pkgdatadir )/sam
pkglibdir=$root$( lua-config --pkglibdir )/sam
pkgdatadir=$root$( pkg-config --variable=INSTALL_LMOD lua )/sam
pkglibdir=$root$( pkg-config --variable=INSTALL_CMOD lua )/sam
mkdir -p $pkgdatadir
mkdir -p $pkglibdir

Loading…
Cancel
Save