diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-13 22:07:11 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-13 22:07:11 +0100 |
commit | 56e554d65183edf7bcbab7ff04f0d13fa5a4a403 (patch) | |
tree | 11bdc0ebfe37397d17f7f81404b5fdbd80d516cc /package/pango/Makefile | |
parent | c222009ae2041c53e2fce319c12b1c1b08dfe4fa (diff) |
add a lot of new devel subpackages and fix native builds of packages
Diffstat (limited to 'package/pango/Makefile')
-rw-r--r-- | package/pango/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/package/pango/Makefile b/package/pango/Makefile index dc6fe2178..9224f3d9e 100644 --- a/package/pango/Makefile +++ b/package/pango/Makefile @@ -13,15 +13,20 @@ PKG_URL:= http://www.pango.org/ PKG_SITES:= ${MASTER_SITE_GNOME:=pango/1.28/} PKG_NEED_CXX:= 1 +PKG_SUBPKGS:= PANGO PANGO_DEV +PKGSC_PANGO_DEV:= devel +PKGSD_PANGO_DEV:= pango headers + ifeq ($(ADK_STATIC),y) PKG_OPTS:= libonly endif include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,PANGO,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +$(eval $(call PKG_template,PANGO,pango,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +$(eval $(call PKG_template,PANGO_DEV,pango-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_PANGO_DEV},${PKGSC_PANGO_DEV},${PKG_OPTS})) -post-install: +pango-install: $(INSTALL_DIR) $(IDIR_PANGO)/etc/pango $(INSTALL_DIR) $(IDIR_PANGO)/usr/lib $(IDIR_PANGO)/usr/lib/pango/1.6.0/modules $(INSTALL_DATA) ./files/pango.modules $(IDIR_PANGO)/etc/pango @@ -29,4 +34,12 @@ post-install: $(CP) $(WRKINST)/usr/lib/pango/1.6.0/modules/*.so \ $(IDIR_PANGO)/usr/lib/pango/1.6.0/modules +pango-dev-install: + $(INSTALL_DIR) $(IDIR_PANGO_DEV)/usr/include + ${CP} $(WRKINST)/usr/include/* \ + $(IDIR_PANGO_DEV)/usr/include + $(INSTALL_DIR) $(IDIR_PANGO_DEV)/usr/lib/pkgconfig + ${CP} $(WRKINST)/usr/lib/pkgconfig/*.pc \ + $(IDIR_PANGO_DEV)/usr/lib/pkgconfig + include ${TOPDIR}/mk/pkg-bottom.mk |