summaryrefslogtreecommitdiff
path: root/package/ConsoleKit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ConsoleKit/Makefile')
-rw-r--r--package/ConsoleKit/Makefile11
1 files changed, 11 insertions, 0 deletions
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