summaryrefslogtreecommitdiff
path: root/package/libpng
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libpng
Initial import
Diffstat (limited to 'package/libpng')
-rw-r--r--package/libpng/Config.in10
-rw-r--r--package/libpng/Makefile26
-rw-r--r--package/libpng/ipkg/libpng.control5
3 files changed, 41 insertions, 0 deletions
diff --git a/package/libpng/Config.in b/package/libpng/Config.in
new file mode 100644
index 000000000..9b3de9cae
--- /dev/null
+++ b/package/libpng/Config.in
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_LIBPNG
+ prompt "libpng............................ PNG (Portable Network Graphics) format files handling library"
+ tristate
+ default n
+ select ADK_PACKAGE_ZLIB
+ help
+ A library for reading/writing PNG files
+
+ http://www.libpng.org/pub/png/libpng.html
+
diff --git a/package/libpng/Makefile b/package/libpng/Makefile
new file mode 100644
index 000000000..0e3b3a733
--- /dev/null
+++ b/package/libpng/Makefile
@@ -0,0 +1,26 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= libpng
+PKG_VERSION:= 1.2.35
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 8ca6246930a57d5be7adc7c4e7fb5e00
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=libpng/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBPNG,libpng,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+BUILD_STYLE= auto
+INSTALL_STYLE= auto confprog
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBPNG}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libpng{,12}.so.* ${IDIR_LIBPNG}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libpng/ipkg/libpng.control b/package/libpng/ipkg/libpng.control
new file mode 100644
index 000000000..96c91b4de
--- /dev/null
+++ b/package/libpng/ipkg/libpng.control
@@ -0,0 +1,5 @@
+Package: libpng
+Priority: optional
+Section: libs
+Depends: zlib
+Description: A library for reading/writing PNG images