diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -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 |