summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-11 13:33:19 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-11 13:33:19 (EDT)
commitc3164aac3d28089b594f71f80322da20e62af89b (patch)
tree4b8ef772fb41a71928a8aed1ebd361f8d617d894
parent5e04990463cd0119059eff44fb5bd3a3607a1814 (diff)
Install most of the binary packages' files.
-rwxr-xr-xbuild9
-rw-r--r--bzip2-doc.pkg/files1
-rw-r--r--libbz2-dev.pkg/files3
-rw-r--r--libbz2.1.0.pkg/files1
4 files changed, 13 insertions, 1 deletions
diff --git a/build b/build
index c4158be..bb8810b 100755
--- a/build
+++ b/build
@@ -14,6 +14,13 @@ build:
install: build
oh-autoinstall -- PREFIX="$${PWD}/dest"
+ install -d dest/usr/lib/ dest/usr/share/
+ mv dest/lib/ dest/usr/lib/$(OPK_HOST_ARCH)/
+ mv dest/include/ dest/usr/include/
+ mv dest/man/ dest/usr/share/
+ ln -sf libbz2.$(OPK_SOURCE_VERSION_UPSTREAM) \
+ dest/usr/lib/$(OPK_HOST_ARCH)/libbz2.so.1.0
+ ln -sf libbz2.so.1.0 dest/usr/lib/$(OPK_HOST_ARCH)/libbz2.so
oh-fixperms
oh-strip
- #oh-installfiles
+ oh-installfiles
diff --git a/bzip2-doc.pkg/files b/bzip2-doc.pkg/files
new file mode 100644
index 0000000..72ec615
--- /dev/null
+++ b/bzip2-doc.pkg/files
@@ -0,0 +1 @@
+/usr/share/man/
diff --git a/libbz2-dev.pkg/files b/libbz2-dev.pkg/files
new file mode 100644
index 0000000..f67fa8a
--- /dev/null
+++ b/libbz2-dev.pkg/files
@@ -0,0 +1,3 @@
+/usr/include/
+/usr/lib/*/libbz2.so
+/usr/lib/*/libbz2.a
diff --git a/libbz2.1.0.pkg/files b/libbz2.1.0.pkg/files
new file mode 100644
index 0000000..b9c2b9d
--- /dev/null
+++ b/libbz2.1.0.pkg/files
@@ -0,0 +1 @@
+/usr/lib/*/libbz2.so.*