summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index 6041650..dc23cde 100755
--- a/configure
+++ b/configure
@@ -22,15 +22,17 @@
package_name='opkhelper'
package_version='3.0.0-beta1'
package_description='OPK Build Helper Tools'
+package_library='libopkhelper.3.0'
srcdir="$(cd "${0%/*}" && pwd)"
prefix='/usr/local'
bindir='${prefix}/bin'
libdir='${prefix}/share'
+pkglibdir='${libdir}/${package_library}'
+libopkhelper='${pkglibdir}'
datadir='${prefix}/share'
mandir='${datadir}/man'
localedir='${datadir}/locale'
-libopkhelper='${libdir}/libopkhelper.3.0'
multiarch_libdir='false'
quiet='false'
@@ -49,6 +51,7 @@ srcdir
prefix
bindir
libdir
+pkglibdir
datadir
mandir
localedir
@@ -66,6 +69,7 @@ subst_vars="
package_name
package_version
package_description
+package_library
${long_opts_with_args}
libopkhelper
${features}
@@ -151,6 +155,8 @@ Installation directories:
default: PREFIX/bin
--libdir=LIBDIR install library scripts in LIBDIR
default: PREFIX/share
+ --pkglibdir=PKGLIBDIR install package library scripts in PKGLIBDIR
+ default: LIBDIR/${package_library}
--datadir=DATADIR expect to find data in DATADIR
default: PREFIX/share
--mandir=MANDIR install manual pages in MANDIR