[packages] add xprop - an application used for settings X properties, patch by Lauri...
[openwrt/svn-archive/archive.git] / Xorg / xorg / app / xprop / 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:=xprop
11 PKG_RELEASE:=1
12 PKG_VERSION:=1.2.0
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/individual/app/
16 PKG_MD5SUM:=e6d0673a1e1e469f0a6220a6868fb94b
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
19
20 PKG_BUILD_DEPENDS:=xproto
21 PKG_INSTALL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24
25 TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
26
27 define Package/xprop
28 SECTION:=xorg-app
29 CATEGORY:=Xorg
30 SUBMENU:=app
31 DEPENDS:=+libX11
32 TITLE:=xprop
33 URL:=http://xorg.freedesktop.org/
34 endef
35
36 define Package/xprop/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) \
39 $(PKG_INSTALL_DIR)/usr/bin/xprop \
40 $(1)/usr/bin/
41 endef
42
43 $(eval $(call BuildPackage,xprop))