summaryrefslogtreecommitdiff
path: root/package/vte/Makefile
blob: 58c1b9dc295b1dacfa2aa2265bb52700e14f0aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		vte
PKG_VERSION:=		0.25.1
PKG_EXTRAVER:=		0.25
PKG_RELEASE:=		1
PKG_MD5SUM:=		415ba972ea60b8016b7a98019fa412b1
PKG_DESCR:=		an experimental terminal emulator widget 
PKG_SECTION:=		libs
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
	$(CP) $(WRKINST)/usr/lib/libvte*.so* $(IDIR_VTE)/usr/lib
	$(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