Update LXDE.
[openwrt/svn-archive/archive.git] / lxde / apps / lxshortcut / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=lxshortcut
12 PKG_VERSION:=0.1.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/lxde
17 PKG_MD5SUM:=68419579deaecf696111bef97d3985bc
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 TARGET_CFLAGS+= \
24 -I$(STAGING_DIR)/usr/lib/libintl/include/ \
25 -I$(STAGING_DIR)/usr/lib/libiconv/include/
26
27 TARGET_LDFLAGS+= \
28 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
29 -L$(STAGING_DIR)/usr/lib/libintl/lib \
30 -L$(STAGING_DIR)/usr/lib/libiconv/lib
31
32 define Package/lxshortcut
33 SECTION:=xorg-app
34 CATEGORY:=Xorg
35 SUBMENU:=app
36 TITLE:=lxshortcut
37 DEPENDS:=+glib2 +vte
38 endef
39
40 define Package/lxshortcut/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) \
43 $(PKG_INSTALL_DIR)/usr/bin/lxshortcut \
44 $(1)/usr/bin
45
46 $(INSTALL_DIR) $(1)/usr/share/lxshortcut
47 $(INSTALL_DATA) \
48 $(PKG_INSTALL_DIR)/usr/share/lxshortcut/* \
49 $(1)/usr/share/lxshortcut/
50
51 endef
52
53 $(eval $(call BuildPackage,lxshortcut))