summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/ConsoleKit/Makefile11
-rw-r--r--package/vte/Makefile10
2 files changed, 21 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
diff --git a/package/vte/Makefile b/package/vte/Makefile
index 931fc5344..aeccbd900 100644
--- a/package/vte/Makefile
+++ b/package/vte/Makefile
@@ -14,9 +14,12 @@ PKG_BUILDDEP:= ncurses
PKG_URL:= http://www.gnome.org/
PKG_SITES:= http://ftp.gnome.org/pub/GNOME/sources/vte/$(PKG_EXTRAVER)/
+PKG_SUBPKGS:= VTE VTE_DEV
+
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,VTE,vte,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,VTE_DEV,vte-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
vte-install:
$(INSTALL_DIR) $(IDIR_VTE)/usr/lib
@@ -24,4 +27,11 @@ vte-install:
$(INSTALL_DIR) $(IDIR_VTE)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/vte $(IDIR_VTE)/usr/bin
+vte-dev-install:
+ $(INSTALL_DIR) $(IDIR_VTE)/usr/include
+ $(CP) $(WRKINST)/usr/include/* $(IDIR_VTE)/usr/include
+ $(INSTALL_DIR) $(IDIR_VTE)/usr/lib/pkgconfig
+ $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
+ $(IDIR_VTE)/usr/lib/pkgconfig
+
include ${TOPDIR}/mk/pkg-bottom.mk