summaryrefslogtreecommitdiff
path: root/package/vte/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-13 15:13:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-13 15:13:46 +0200
commitf850fe1074aa336bd0b11cc787ad8b417910aed7 (patch)
tree0a3746b8d1e340ac52f706d178aac3351ff27fda /package/vte/Makefile
parent792fec1ce1f46bf0be4fe85e45ee60329a1db514 (diff)
add devel subpackages
Diffstat (limited to 'package/vte/Makefile')
-rw-r--r--package/vte/Makefile10
1 files changed, 10 insertions, 0 deletions
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