summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure b/configure
index c28455d..06c1d02 100755
--- a/configure
+++ b/configure
@@ -22,16 +22,19 @@
package_name='opkbuild'
package_version='3.0.0-alpha4'
package_description='OPK Build System'
+package_library='libopkbuild.1'
srcdir="$(cd "${0%/*}" && pwd)"
prefix='/usr/local'
bindir='${prefix}/bin'
libdir='${prefix}/share'
+pkglibdir='${libdir}/${package_library}'
+libopkbuild='${pkglibdir}'
datadir='${prefix}/share'
mandir='${datadir}/man'
+man1dir='${mandir}/man1'
localedir='${datadir}/locale'
sysconfdir='/etc'
-libopkbuild='${libdir}/libopkbuild.1'
metadata='proteanos'
quiet='false'
@@ -50,8 +53,10 @@ srcdir
prefix
bindir
libdir
+pkglibdir
datadir
mandir
+man1dir
localedir
sysconfdir
'
@@ -68,6 +73,7 @@ subst_vars="
package_name
package_version
package_description
+package_library
${long_opts_with_args}
libopkbuild
${features}
@@ -153,10 +159,14 @@ 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
default: DATADIR/man
+ --man1dir=MAN1DIR install section 1 manual pages in MAN1DIR
+ default: MANDIR/man1
--localedir=LOCALEDIR install locales in LOCALEDIR
default: DATADIR/locale
--sysconfdir=SYSCONFDIR install system configuration in SYSCONFDIR