tint2: Bump version
[openwrt/svn-archive/feeds.git] / desktop / apps / tint2 / Makefile
1 #
2 # Copyright (C) 2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=tint2
11 PKG_REV:=626
12 PKG_VERSION:=svn$(PKG_REV)
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://tint2.googlecode.com/svn/trunk/
17 PKG_SOURCE_PROTO:=svn
18 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19 PKG_SOURCE_VERSION:=$(PKG_REV)
20 PKG_INSTALL:=1
21 PKG_BUILD_PARALLEL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24 include $(INCLUDE_DIR)/nls.mk
25 include $(INCLUDE_DIR)/cmake.mk
26
27 define Package/tint2
28 SECTION:=xorg-app
29 CATEGORY:=Xorg
30 SUBMENU:=app
31 TITLE:=Tint2 - simple panel/taskbar
32 MAINTAINER:=Michael Buesch <mb@bu3sch.de>
33 URL:=http://code.google.com/p/tint2/
34 DEPENDS:=+cairo +pango +glib2 +libX11 +libXrandr +libXrender +libXcomposite +libXdamage +imlib2 +python-mini +python-gtk
35 endef
36
37 define Package/tint2/description
38 tint2 is a simple panel/taskbar unintrusive and light (memory / cpu / aestetic).
39 endef
40
41 EXTRA_CFLAGS:=\
42 -I$(STAGING_DIR)/usr/include/cairo \
43 -I$(STAGING_DIR)/usr/include/pango-1.0 \
44 -I$(STAGING_DIR)/usr/include/glib-2.0
45
46 define Package/tint2/install
47 $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/share $(1)/etc/xdg/tint2
48 $(CP) ./files/tint2rc $(1)/etc/xdg/tint2/
49 $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
50 $(CP) $(PKG_INSTALL_DIR)/usr/share/* $(1)/usr/share/
51 endef
52
53 $(eval $(call BuildPackage,tint2))