1 # Copyright (C) 2009 Kirtika Ruchandani <kirtibr@gmail.com>
2 # Released under the MIT license (see COPYING.MIT for the terms)
4 DESCRIPTION = "Libpng used by Maemo"
5 HOMEPAGE = "http://www.libpng.org/pub/png/libpng.html"
11 SRC_URI = "http://repository.maemo.org/pool/maemo5.0beta/free/libp/${PN}/${PN}_${PV}-1maemo1.tar.gz"
16 cp libpng.pc libpng12.pc
17 install -m 644 png.h ${STAGING_INCDIR}/png.h
18 install -m 644 pngconf.h ${STAGING_INCDIR}/pngconf.h
19 oe_libinstall -so libpng ${STAGING_LIBDIR}/
20 oe_libinstall -so libpng12 ${STAGING_LIBDIR}/
21 ln -sf libpng12.so ${STAGING_LIBDIR}/libpng.so