summaryrefslogtreecommitdiffstats
path: root/build
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 /build
parent2797fc524f2a962a0b860c8855a31b3931cefd51 (diff)
Update install paths for new upstream version.
Diffstat (limited to 'build')
-rwxr-xr-xbuild18
1 files changed, 11 insertions, 7 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