From 56e554d65183edf7bcbab7ff04f0d13fa5a4a403 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 13 Mar 2011 22:07:11 +0100 Subject: add a lot of new devel subpackages and fix native builds of packages --- package/atk/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'package/atk') diff --git a/package/atk/Makefile b/package/atk/Makefile index 5cb821053..b8085ab24 100644 --- a/package/atk/Makefile +++ b/package/atk/Makefile @@ -13,7 +13,9 @@ PKG_BUILDDEP:= glib PKG_URL:= http://www.gnome.org/ PKG_SITES:= ${MASTER_SITE_GNOME:=/atk/1.33/} -PKG_SUBPKGS:= LIBATK +PKG_SUBPKGS:= LIBATK LIBATK_DEV +PKGSC_LIBATK_DEV:= devel +PKGSD_LIBATK_DEV:= libatk headers ifeq ($(ADK_STATIC),y) PKG_OPTS:= libonly @@ -22,9 +24,16 @@ endif include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,LIBATK,libatk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +$(eval $(call PKG_template,LIBATK_DEV,libatk-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBATK_DEV},${PKGSC_LIBATK_DEV},${PKG_OPTS})) libatk-install: ${INSTALL_DIR} ${IDIR_LIBATK}/usr/lib ${CP} ${WRKINST}/usr/lib/libatk-*.so* ${IDIR_LIBATK}/usr/lib +libatk-dev-install: + ${INSTALL_DIR} ${IDIR_LIBATK_DEV}/usr/lib/pkgconfig + ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc ${IDIR_LIBATK_DEV}/usr/lib/pkgconfig + ${INSTALL_DIR} ${IDIR_LIBATK_DEV}/usr/include + ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBATK_DEV}/usr/include + include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3