summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-09-05 18:00:47 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-09-05 18:00:47 (EDT)
commitf4f74f9cc4fc386668a5ec18f6c1059e8824e81a (patch)
tree71ec871239a35962b2c566331d2fb0e914ac81a4
parent021039f10f667c552fc54ebb275a05a9431bca33 (diff)
build: Finish
-rwxr-xr-xbuild22
1 files changed, 21 insertions, 1 deletions
diff --git a/build b/build
index db67b14..2362909 100755
--- a/build
+++ b/build
@@ -6,5 +6,25 @@ nop:
@:
build:
+ oh-autobuild -- \
+ IDSDIR=/usr/share/misc \
+ SHARED=yes
-install:
+install: build
+ oh-autoinstall -- \
+ PREFIX=/usr \
+ SBINDIR=/usr/bin \
+ LIBDIR=/usr/lib/$(OPK_HOST_ARCH) \
+ IDSDIR=/usr/share/misc \
+ STRIP= \
+ SHARED=yes
+ oh-autoinstall -T install-lib -- \
+ PREFIX=/usr \
+ LIBDIR=/usr/lib/$(OPK_HOST_ARCH) \
+ SHARED=yes
+ # pci.ids is provided by the pciids package.
+ rm -f dest/usr/bin/update-pciids
+ rm -f dest/usr/share/misc/pci.ids*
+ oh-fixperms
+ oh-strip
+ oh-installfiles