summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-03-07 10:13:10 (EST)
committer P. J. McDermott <pjm@nac.net>2014-03-07 10:13:10 (EST)
commit031def402877269151dccdc6b95fd26fa5fec7ff (patch)
treec0b3b5b2cd00dcb0230212fa6a3382762777989c
parent2797fc524f2a962a0b860c8855a31b3931cefd51 (diff)
Update install paths for new upstream version.
-rwxr-xr-xbuild18
-rw-r--r--opkhelper-3.0.pkg/files4
2 files changed, 13 insertions, 9 deletions
diff --git a/build b/build
index f532f36..892704c 100755
--- a/build
+++ b/build
@@ -2,14 +2,18 @@
include ../source.mk
+macros = \
+ bindir=/usr/share/$(OPK_SOURCE) \
+ pkgdatadir=/usr/share/$(OPK_SOURCE) \
+ archtabdir=/usr/share/opkhelper/archtab-v1
+
build:
- oh-autoconfigure -- \
- --bindir=/usr/share/$(OPK_SOURCE) \
- --libdir=/usr/share \
- --pkgdatadir=/usr/share/opkhelper-3.0 \
- --with-libopkbuild.1=/usr/share/libopkbuild.1
- oh-autobuild
+ oh-autoconfigure
+ oh-autobuild -- $(macros)
install: build
- oh-autoinstall
+ oh-autoinstall -- $(macros)
+ mv dest/usr/share/opkbuild/helpers/opkhelper \
+ dest/usr/share/opkbuild/helpers/$(OPK_SOURCE)
+ find dest/usr/share/$(OPK_SOURCE) -name '*.sm' -exec chmod a-x '{}' ';'
oh-installfiles
diff --git a/opkhelper-3.0.pkg/files b/opkhelper-3.0.pkg/files
index 96e97a7..5b4bcd8 100644
--- a/opkhelper-3.0.pkg/files
+++ b/opkhelper-3.0.pkg/files
@@ -1,3 +1,3 @@
-/usr/share/opkhelper-*
-/usr/share/libopkhelper*
+/usr/share/opkhelper*
/usr/share/locale
+/usr/share/opkbuild/helpers/