summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-07-24 17:47:11 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-07-24 17:47:11 (EDT)
commit4b879b5d8b74470c798e629743f855cf04626682 (patch)
treed14cc6d5c54b845870c28c455c1378a7c8c4b808
Initial commit
-rwxr-xr-xbuild17
-rw-r--r--changelog5
-rw-r--r--control3
-rw-r--r--format1
-rw-r--r--source.mk10
5 files changed, 36 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..dd90713
--- /dev/null
+++ b/build
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include ../source.mk
+
+nop:
+ @:
+
+build:
+ oh-autoconfigure
+ oh-autobuild
+ touch $@
+
+install: build
+ oh-autoinstall
+ oh-fixperms
+ oh-strip -k
+ oh-installfiles
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..dd4b6ff
--- /dev/null
+++ b/changelog
@@ -0,0 +1,5 @@
+libpng12 (1.2.51-1) trunk
+
+ * Initial release.
+
+ -- "P. J. McDermott" <pj@pehjota.net> Tue, 28 Jan 2014 11:25:23 -0500
diff --git a/control b/control
new file mode 100644
index 0000000..f680a11
--- /dev/null
+++ b/control
@@ -0,0 +1,3 @@
+Maintainer: "P. J. McDermott" <pj@pehjota.net>
+Build-Depends: opkhelper-3.0, libz.1-dev
+Homepage: http://www.libpng.org/pub/png/libpng.html
diff --git a/format b/format
new file mode 100644
index 0000000..cd5ac03
--- /dev/null
+++ b/format
@@ -0,0 +1 @@
+2.0
diff --git a/source.mk b/source.mk
new file mode 100644
index 0000000..1f1ee0d
--- /dev/null
+++ b/source.mk
@@ -0,0 +1,10 @@
+upstream_sf_base = http://downloads.sourceforge.net/project/libpng
+upstream_path = $(OPK_SOURCE)/$(OPK_SOURCE_VERSION_UPSTREAM)
+upstream_archive = libpng-$(OPK_SOURCE_VERSION_UPSTREAM).tar.gz
+upstream_url = $(upstream_sf_base)/$(upstream_path)/$(upstream_archive)
+source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz
+
+$(source_archive):
+ wget -O '$@' '$(upstream_url)'
+
+source: $(source_archive)