summaryrefslogtreecommitdiffstats
path: root/lxde/apps/lxshortcut/Makefile
blob: c8cd8bd2406d35782807fc29687c96327f47f03e (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
38
39
40
41
42
43
44
45
46
47
48
#
# Copyright (C) 2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$

include $(TOPDIR)/rules.mk

PKG_NAME:=lxshortcut
PKG_VERSION:=0.1.1
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/lxde
PKG_MD5SUM:=68419579deaecf696111bef97d3985bc
PKG_FIXUP:=libtool
PKG_INSTALL:=1

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk

TARGET_LDFLAGS+= \
	-Wl,-rpath-link=$(STAGING_DIR)/usr/lib

define Package/lxshortcut
  SECTION:=xorg-app
  CATEGORY:=Xorg
  SUBMENU:=app
  TITLE:=lxshortcut
  DEPENDS:=+glib2 +vte
endef

define Package/lxshortcut/install
	$(INSTALL_DIR) $(1)/usr/bin
	$(INSTALL_BIN) \
		$(PKG_INSTALL_DIR)/usr/bin/lxshortcut \
		$(1)/usr/bin

	$(INSTALL_DIR) $(1)/usr/share/lxshortcut
	$(INSTALL_DATA) \
		$(PKG_INSTALL_DIR)/usr/share/lxshortcut/* \
		$(1)/usr/share/lxshortcut/

endef

$(eval $(call BuildPackage,lxshortcut))