From f850fe1074aa336bd0b11cc787ad8b417910aed7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 13 Apr 2011 15:13:46 +0200 Subject: add devel subpackages --- package/ConsoleKit/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'package/ConsoleKit/Makefile') diff --git a/package/ConsoleKit/Makefile b/package/ConsoleKit/Makefile index 178be1447..ebe58ff9f 100644 --- a/package/ConsoleKit/Makefile +++ b/package/ConsoleKit/Makefile @@ -13,15 +13,26 @@ PKG_BUILDDEP:= dbus-glib PKG_URL:= http://www.freedesktop.org/wiki/Software/ConsoleKit PKG_SITES:= http://www.freedesktop.org/software/ConsoleKit/dist/ +PKG_SUBPKGS:= CONSOLEKIT CONSOLEKIT_DEV + DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,CONSOLEKIT,consolekit,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,CONSOLEKIT_DEV,consolekit-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) consolekit-install: $(INSTALL_DIR) $(IDIR_CONSOLEKIT)/usr/lib $(CP) $(WRKINST)/usr/lib/libck-connector.so* \ $(IDIR_CONSOLEKIT)/usr/lib +consolekit-dev-install: + $(INSTALL_DIR) $(IDIR_CONSOLEKIT_DEV)/usr/include + $(CP) $(WRKINST)/usr/include/* \ + $(IDIR_CONSOLEKIT_DEV)/usr/include + $(INSTALL_DIR) $(IDIR_CONSOLEKIT_DEV)/usr/lib/pkgconfig + $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \ + $(IDIR_CONSOLEKIT_DEV)/usr/lib/pkgconfig + include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3