summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-05 21:14:06 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-05 21:14:06 (EDT)
commitf5e51958a7568878f41cbe999a20a5fd2fc9e608 (patch)
treed099a0de29bf5984f966fd77349ef79b2cd0ab5d /configure
parentcfec2484ce61a951fbb34d00d343f435a8587a0e (diff)
Add pkglibdir variable (to replace libopkhelper).
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