summaryrefslogtreecommitdiff
path: root/packages/libpng
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/libpng
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/libpng')
-rw-r--r--packages/libpng/files/makefile_fix.patch18
-rw-r--r--packages/libpng/libpng-native.inc13
-rw-r--r--packages/libpng/libpng-native_1.2.12.bb4
-rw-r--r--packages/libpng/libpng-native_1.2.20.bb4
-rw-r--r--packages/libpng/libpng-native_1.2.31.bb4
-rw-r--r--packages/libpng/libpng-native_1.2.35.bb4
-rw-r--r--packages/libpng/libpng.inc45
-rw-r--r--packages/libpng/libpng_1.2.12.bb14
-rw-r--r--packages/libpng/libpng_1.2.20.bb14
-rw-r--r--packages/libpng/libpng_1.2.31.bb14
-rw-r--r--packages/libpng/libpng_1.2.35.bb14
11 files changed, 0 insertions, 148 deletions
diff --git a/packages/libpng/files/makefile_fix.patch b/packages/libpng/files/makefile_fix.patch
deleted file mode 100644
index 3fa8793add..0000000000
--- a/packages/libpng/files/makefile_fix.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Old versions of libtool (1.5.10) used to set ECHO as a side effect. With
-libtool 2.2.2 we need to do this manually
-
-RP - 14/4/08
-
-Index: libpng-1.2.16/Makefile.am
-===================================================================
---- libpng-1.2.16.orig/Makefile.am 2008-04-14 14:47:21.000000000 +0100
-+++ libpng-1.2.16/Makefile.am 2008-04-14 14:47:47.000000000 +0100
-@@ -102,6 +102,8 @@
- >$@.new
- mv $@.new $@
-
-+ECHO=echo
-+
- libpng.vers: libpng.sym
- rm -f $@ $@.new
- $(ECHO) PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0 '{global:' > $@.new
diff --git a/packages/libpng/libpng-native.inc b/packages/libpng/libpng-native.inc
deleted file mode 100644
index 641688a881..0000000000
--- a/packages/libpng/libpng-native.inc
+++ /dev/null
@@ -1,13 +0,0 @@
-inherit native
-
-DEPENDS = "zlib-native"
-
-INHIBIT_NATIVE_STAGE_INSTALL = "1"
-
-do_stage_append() {
- 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 libpng12 ${STAGING_LIBDIR}/
- ln -sf libpng12.so ${STAGING_LIBDIR}/libpng.so
-}
diff --git a/packages/libpng/libpng-native_1.2.12.bb b/packages/libpng/libpng-native_1.2.12.bb
deleted file mode 100644
index 52c92e9954..0000000000
--- a/packages/libpng/libpng-native_1.2.12.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require libpng_${PV}.bb
-require libpng-native.inc
-
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}"
diff --git a/packages/libpng/libpng-native_1.2.20.bb b/packages/libpng/libpng-native_1.2.20.bb
deleted file mode 100644
index 52c92e9954..0000000000
--- a/packages/libpng/libpng-native_1.2.20.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require libpng_${PV}.bb
-require libpng-native.inc
-
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}"
diff --git a/packages/libpng/libpng-native_1.2.31.bb b/packages/libpng/libpng-native_1.2.31.bb
deleted file mode 100644
index 52c92e9954..0000000000
--- a/packages/libpng/libpng-native_1.2.31.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require libpng_${PV}.bb
-require libpng-native.inc
-
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}"
diff --git a/packages/libpng/libpng-native_1.2.35.bb b/packages/libpng/libpng-native_1.2.35.bb
deleted file mode 100644
index 52c92e9954..0000000000
--- a/packages/libpng/libpng-native_1.2.35.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require libpng_${PV}.bb
-require libpng-native.inc
-
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libpng-${PV}"
diff --git a/packages/libpng/libpng.inc b/packages/libpng/libpng.inc
deleted file mode 100644
index 30a34f2457..0000000000
--- a/packages/libpng/libpng.inc
+++ /dev/null
@@ -1,45 +0,0 @@
-DESCRIPTION = "PNG Library"
-HOMEPAGE = "http://www.libpng.org/"
-LICENSE = "libpng"
-SECTION = "libs"
-PRIORITY = "required"
-DEPENDS = "zlib"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/libpng-${PV}.tar.bz2"
-S = "${WORKDIR}/libpng-${PV}"
-
-inherit autotools pkgconfig binconfig
-
-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 libpng12 ${STAGING_LIBDIR}/
- ln -sf libpng12.so ${STAGING_LIBDIR}/libpng.so
-}
-
-do_install() {
- install -d ${D}${bindir} ${D}${mandir} \
- ${D}${libdir} ${D}${includedir}
- unset LDFLAGS
- oe_runmake 'prefix=${prefix}' 'DESTDIR=${D}' \
- 'DB=${D}${bindir}' 'DI=${D}${includedir}' \
- 'DL=${D}${libdir}' 'DM=${D}${mandir}' \
- install
-}
-
-python do_package() {
- if bb.data.getVar('DEBIAN_NAMES', d, 1):
- bb.data.setVar('PKG_${PN}', 'libpng12', d)
- bb.build.exec_func('package_do_package', d)
-}
-
-PACKAGES =+ "${PN}12-dbg ${PN}12 ${PN}12-dev"
-
-FILES_${PN}12-dbg += "${libdir}/libpng12*.dbg"
-FILES_${PN}12 = "${libdir}/libpng12.so.*"
-FILES_${PN}12-dev = "${libdir}/libpng12.* ${includedir}/libpng12 ${libdir}/pkgconfig/libpng12.pc"
-FILES_${PN} = "${libdir}/lib*.so.*"
-FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \
- ${libdir}/*.a ${libdir}/pkgconfig \
- ${datadir}/aclocal ${bindir} ${sbindir}"
diff --git a/packages/libpng/libpng_1.2.12.bb b/packages/libpng/libpng_1.2.12.bb
deleted file mode 100644
index ac0fd43379..0000000000
--- a/packages/libpng/libpng_1.2.12.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-require libpng.inc
-
-PR = "r5"
-
-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
-}
diff --git a/packages/libpng/libpng_1.2.20.bb b/packages/libpng/libpng_1.2.20.bb
deleted file mode 100644
index aee9ff14ec..0000000000
--- a/packages/libpng/libpng_1.2.20.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-require libpng.inc
-
-PR = "r6"
-
-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
-}
diff --git a/packages/libpng/libpng_1.2.31.bb b/packages/libpng/libpng_1.2.31.bb
deleted file mode 100644
index aee9ff14ec..0000000000
--- a/packages/libpng/libpng_1.2.31.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-require libpng.inc
-
-PR = "r6"
-
-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
-}
diff --git a/packages/libpng/libpng_1.2.35.bb b/packages/libpng/libpng_1.2.35.bb
deleted file mode 100644
index 3ed02a7f17..0000000000
--- a/packages/libpng/libpng_1.2.35.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-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
-}