diff options
-rwxr-xr-x | build | 17 | ||||
-rw-r--r-- | changelog | 5 | ||||
-rw-r--r-- | control | 3 | ||||
-rw-r--r-- | format | 1 | ||||
-rw-r--r-- | source.mk | 10 |
5 files changed, 36 insertions, 0 deletions
@@ -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 @@ -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 @@ -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) |