summaryrefslogtreecommitdiff
path: root/package/atk/Makefile
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/atk/Makefile
parentc222009ae2041c53e2fce319c12b1c1b08dfe4fa (diff)
add a lot of new devel subpackages and fix native builds of packages
Diffstat (limited to 'package/atk/Makefile')
-rw-r--r--package/atk/Makefile11
1 files changed, 10 insertions, 1 deletions
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