summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/build b/build
index d7dc8dd..d2e1419 100755
--- a/build
+++ b/build
@@ -7,6 +7,10 @@ nop:
build:
oh-autoconfigure -- \
+ --prefix=/ \
+ --includedir=/usr/include \
+ --datarootdir=/usr/share \
+ --mandir=/usr/share/man \
--enable-symlink-install \
--enable-verbose-makecmds \
--enable-elf-shlibs \
@@ -22,11 +26,16 @@ build:
install: build
oh-autoinstall
- rm dest/usr/lib/$(OPK_HOST_ARCH)/*.a
+ rm dest/lib/$(OPK_HOST_ARCH)/*.a
+ # Put pkgconfig under /usr where it belongs:
+ mkdir -p dest/usr/lib/$(OPK_HOST_ARCH)/
+ mv \
+ dest/lib/$(OPK_HOST_ARCH)/pkgconfig/ \
+ dest/usr/lib/$(OPK_HOST_ARCH)/
# Bash scripts and their configuration:
rm dest/etc/e2scrub.conf
- rm dest/usr/sbin/e2scrub
- rm dest/usr/sbin/e2scrub_all
+ rm dest/sbin/e2scrub
+ rm dest/sbin/e2scrub_all
oh-fixperms
oh-strip
oh-installfiles