[vlc-commits] Contribs: add png
Jean-Baptiste Kempf
git at videolan.org
Mon Jul 4 03:16:32 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jul 4 03:13:07 2011 +0200| [76e48fce851d5c72fd1687ad10520fd037a194fb] | committer: Jean-Baptiste Kempf
Contribs: add png
Remove the old way with using the static makefiles and weird ??PREFIX?? patches
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=76e48fce851d5c72fd1687ad10520fd037a194fb
---
contrib/src/png/SHA512SUMS | 1 +
contrib/src/png/rules.mak | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/contrib/src/png/SHA512SUMS b/contrib/src/png/SHA512SUMS
new file mode 100644
index 0000000..586fd25
--- /dev/null
+++ b/contrib/src/png/SHA512SUMS
@@ -0,0 +1 @@
+f1dc2afd747554e5fda1c7627e34530d845d8c7f5629870a21f0d501604cba26446aa7a7bbeb8278f3ab714ed48cf2518df873d0e8fee4dc79d5e2b50060ce46 libpng-1.4.7.tar.bz2
diff --git a/contrib/src/png/rules.mak b/contrib/src/png/rules.mak
new file mode 100644
index 0000000..d6bb0d1
--- /dev/null
+++ b/contrib/src/png/rules.mak
@@ -0,0 +1,20 @@
+# PNG
+PNG_VERSION := 1.4.7
+PNG_URL := $(SF)/libpng/libpng-$(PNG_VERSION).tar.bz2
+
+PKGS += png
+
+$(TARBALLS)/libpng-$(PNG_VERSION).tar.bz2:
+ $(call download,$(PNG_URL))
+
+.sum-png: libpng-$(PNG_VERSION).tar.bz2
+
+png: libpng-$(PNG_VERSION).tar.bz2 .sum-png
+ $(UNPACK)
+ $(MOVE)
+
+.png: png
+ $(RECONF)
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+ cd $< && $(MAKE) install
+ touch $@
More information about the vlc-commits
mailing list