summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-20 02:28:42 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-20 02:28:42 (EDT)
commit736b2cd1c5090cf1de579122d4e011a0d384200e (patch)
treecb0339e76898d61bd1d0a9ab887c4e80813e01af
parent4769a8253a679089656cf48e26e60ecc8aa7488c (diff)
Install files into binary packages.
-rwxr-xr-xbuild4
-rw-r--r--libogg-dev.pkg/files5
-rw-r--r--libogg-doc.pkg/files1
-rw-r--r--libogg.0-dbg.pkg/files1
-rw-r--r--libogg.0.pkg/files1
5 files changed, 11 insertions, 1 deletions
diff --git a/build b/build
index 1a1cceb..5dcec9b 100755
--- a/build
+++ b/build
@@ -17,6 +17,8 @@ build:
install: build
oh-autoinstall
+ rm dest/usr/lib/$(OPK_HOST_ARCH)/libogg.la
+ mv dest/usr/share/doc/libogg/ dest/usr/share/doc/libogg.0/
oh-fixperms
- oh-strip
+ oh-strip -k
oh-installfiles
diff --git a/libogg-dev.pkg/files b/libogg-dev.pkg/files
new file mode 100644
index 0000000..d836021
--- /dev/null
+++ b/libogg-dev.pkg/files
@@ -0,0 +1,5 @@
+/usr/include/
+/usr/lib/*/libogg.so
+/usr/lib/*/libogg.a
+/usr/lib/*/pkgconfig/ogg.pc
+/usr/share/aclocal/
diff --git a/libogg-doc.pkg/files b/libogg-doc.pkg/files
new file mode 100644
index 0000000..3eec180
--- /dev/null
+++ b/libogg-doc.pkg/files
@@ -0,0 +1 @@
+/usr/share/doc/
diff --git a/libogg.0-dbg.pkg/files b/libogg.0-dbg.pkg/files
new file mode 100644
index 0000000..b69d578
--- /dev/null
+++ b/libogg.0-dbg.pkg/files
@@ -0,0 +1 @@
+/usr/lib/debug/
diff --git a/libogg.0.pkg/files b/libogg.0.pkg/files
new file mode 100644
index 0000000..48b3aab
--- /dev/null
+++ b/libogg.0.pkg/files
@@ -0,0 +1 @@
+/usr/lib/*/libogg.so.*