summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild7
-rw-r--r--libpng12-dbg.pkg/control4
-rw-r--r--libpng12-dbg.pkg/files1
-rw-r--r--libpng12-dev.pkg/control4
-rw-r--r--libpng12-dev.pkg/files4
-rw-r--r--libpng12-doc.pkg/control4
-rw-r--r--libpng12-doc.pkg/files1
-rw-r--r--libpng12.0.pkg/control3
-rw-r--r--libpng12.0.pkg/docs0
-rw-r--r--libpng12.0.pkg/files1
10 files changed, 29 insertions, 0 deletions
diff --git a/build b/build
index dd90713..b251c4b 100755
--- a/build
+++ b/build
@@ -12,6 +12,13 @@ build:
install: build
oh-autoinstall
+ # XXX: libpng12-config is an architecture-dependent file in an
+ # architecture-independent path. Some package build systems may need
+ # this script, but they should probably just be patched to use
+ # pkg-config instead.
+ rm dest/usr/bin/libpng*-config
+ rm dest/usr/lib/$(OPK_HOST_ARCH)/libpng*.la
+ rm dest/usr/lib/$(OPK_HOST_ARCH)/libpng.so.3*
oh-fixperms
oh-strip -k
oh-installfiles
diff --git a/libpng12-dbg.pkg/control b/libpng12-dbg.pkg/control
new file mode 100644
index 0000000..d4ce625
--- /dev/null
+++ b/libpng12-dbg.pkg/control
@@ -0,0 +1,4 @@
+Architecture: any
+Platform: all
+Depends: libpng12.0 (= ${Binary-Version})
+Description: Library for reading and writing PNG files - debugging symbols
diff --git a/libpng12-dbg.pkg/files b/libpng12-dbg.pkg/files
new file mode 100644
index 0000000..b69d578
--- /dev/null
+++ b/libpng12-dbg.pkg/files
@@ -0,0 +1 @@
+/usr/lib/debug/
diff --git a/libpng12-dev.pkg/control b/libpng12-dev.pkg/control
new file mode 100644
index 0000000..eeeb9ef
--- /dev/null
+++ b/libpng12-dev.pkg/control
@@ -0,0 +1,4 @@
+Architecture: any
+Platform: all
+Depends: libpng12.0 (= ${Binary-Version})
+Description: Library for reading and writing PNG files - development files
diff --git a/libpng12-dev.pkg/files b/libpng12-dev.pkg/files
new file mode 100644
index 0000000..4b82bb9
--- /dev/null
+++ b/libpng12-dev.pkg/files
@@ -0,0 +1,4 @@
+/usr/lib/*/libpng*.so
+/usr/lib/*/libpng*.a
+/usr/lib/*/pkgconfig/
+/usr/include/
diff --git a/libpng12-doc.pkg/control b/libpng12-doc.pkg/control
new file mode 100644
index 0000000..ebb125d
--- /dev/null
+++ b/libpng12-doc.pkg/control
@@ -0,0 +1,4 @@
+Architecture: all
+Platform: all
+Depends: libpng12.0 (>= ${Source-Version})
+Description: Library for reading and writing PNG files - documentation
diff --git a/libpng12-doc.pkg/files b/libpng12-doc.pkg/files
new file mode 100644
index 0000000..72ec615
--- /dev/null
+++ b/libpng12-doc.pkg/files
@@ -0,0 +1 @@
+/usr/share/man/
diff --git a/libpng12.0.pkg/control b/libpng12.0.pkg/control
new file mode 100644
index 0000000..1d8bbaa
--- /dev/null
+++ b/libpng12.0.pkg/control
@@ -0,0 +1,3 @@
+Architecture: any
+Platform: all
+Description: Library for reading and writing PNG files
diff --git a/libpng12.0.pkg/docs b/libpng12.0.pkg/docs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/libpng12.0.pkg/docs
diff --git a/libpng12.0.pkg/files b/libpng12.0.pkg/files
new file mode 100644
index 0000000..81690c9
--- /dev/null
+++ b/libpng12.0.pkg/files
@@ -0,0 +1 @@
+/usr/lib/*/libpng?*.so.*