summaryrefslogtreecommitdiff
path: root/package/libpng
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-13 22:07:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-13 22:07:11 +0100
commit56e554d65183edf7bcbab7ff04f0d13fa5a4a403 (patch)
tree11bdc0ebfe37397d17f7f81404b5fdbd80d516cc /package/libpng
parentc222009ae2041c53e2fce319c12b1c1b08dfe4fa (diff)
add a lot of new devel subpackages and fix native builds of packages
Diffstat (limited to 'package/libpng')
-rw-r--r--package/libpng/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/package/libpng/Makefile b/package/libpng/Makefile
index 92365bf63..ed5808ecf 100644
--- a/package/libpng/Makefile
+++ b/package/libpng/Makefile
@@ -24,16 +24,19 @@ endif
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBPNG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+$(eval $(call PKG_template,LIBPNG,libpng,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,LIBPNG_DEV,libpng-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBPNG_DEV},${PKGSC_LIBPNG_DEV},${PKG_OPTS}))
-post-install:
+libpng-install:
${INSTALL_DIR} ${IDIR_LIBPNG}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libpng{,12}.so* ${IDIR_LIBPNG}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libpng{,12}.so* ${IDIR_LIBPNG}/usr/lib
libpng-dev-install:
${INSTALL_DIR} ${IDIR_LIBPNG_DEV}/usr/include/libpng12
${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBPNG_DEV}/usr/include
${CP} ${WRKINST}/usr/include/libpng12/*.h ${IDIR_LIBPNG_DEV}/usr/include/libpng12
+ ${INSTALL_DIR} ${IDIR_LIBPNG_DEV}/usr/lib/pkgconfig
+ ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \
+ ${IDIR_LIBPNG_DEV}/usr/lib/pkgconfig
include ${TOPDIR}/mk/pkg-bottom.mk