summaryrefslogtreecommitdiff
path: root/recipes/libpng
diff options
context:
space:
mode:
authorDavid-John Willis <John.Willis@Distant-earth.com>2009-11-26 08:45:58 +0000
committerKoen Kooi <koen@openembedded.org>2009-12-04 10:43:05 +0100
commitba9ab8c783d196ed16b1b4d64b04ec20845323eb (patch)
treed715e057691562b6b95bea9f519527845e9c75ca /recipes/libpng
parentc3316cf01d65cb6a41d43a878846ecbafa283685 (diff)
libpng: Add target and native recipes for 1.2.40 with checksums.
Diffstat (limited to 'recipes/libpng')
-rw-r--r--recipes/libpng/libpng-native_1.2.40.bb4
-rw-r--r--recipes/libpng/libpng_1.2.40.bb14
2 files changed, 18 insertions, 0 deletions
diff --git a/recipes/libpng/libpng-native_1.2.40.bb b/recipes/libpng/libpng-native_1.2.40.bb
new file mode 100644
index 0000000000..52c92e9954
--- /dev/null
+++ b/recipes/libpng/libpng-native_1.2.40.bb
@@ -0,0 +1,4 @@
+require libpng_${PV}.bb
+require libpng-native.inc
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}"
diff --git a/recipes/libpng/libpng_1.2.40.bb b/recipes/libpng/libpng_1.2.40.bb
new file mode 100644
index 0000000000..3ed02a7f17
--- /dev/null
+++ b/recipes/libpng/libpng_1.2.40.bb
@@ -0,0 +1,14 @@
+require libpng.inc
+
+PR = "r0"
+
+SRC_URI += "file://makefile_fix.patch;patch=1"
+
+do_stage() {
+ cp libpng.pc libpng12.pc
+ install -m 644 png.h ${STAGING_INCDIR}/png.h
+ install -m 644 pngconf.h ${STAGING_INCDIR}/pngconf.h
+ oe_libinstall -so libpng ${STAGING_LIBDIR}/
+ oe_libinstall -so libpng12 ${STAGING_LIBDIR}/
+ ln -sf libpng12.so ${STAGING_LIBDIR}/libpng.so
+}