summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/