source: packages/Xorg/xorg/app/xprop/Makefile @ 26981

Last change on this file since 26981 was 26981, checked in by jow, 6 years ago

[packages] add xprop - an application used for settings X properties, patch by Lauri Võsandi

File size: 909 bytes
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=xprop
11PKG_RELEASE:=1
12PKG_VERSION:=1.2.0
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/individual/app/
16PKG_MD5SUM:=e6d0673a1e1e469f0a6220a6868fb94b
17
18PKG_BUILD_DIR:=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
19
20PKG_BUILD_DEPENDS:=xproto
21PKG_INSTALL:=1
22
23include $(INCLUDE_DIR)/package.mk
24
25TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
26
27define Package/xprop
28  SECTION:=xorg-app
29  CATEGORY:=Xorg
30  SUBMENU:=app
31  DEPENDS:=+libX11
32  TITLE:=xprop
33  URL:=http://xorg.freedesktop.org/
34endef
35
36define Package/xprop/install
37        $(INSTALL_DIR) $(1)/usr/bin
38        $(INSTALL_BIN) \
39                $(PKG_INSTALL_DIR)/usr/bin/xprop \
40                $(1)/usr/bin/
41endef
42
43$(eval $(call BuildPackage,xprop))
Note: See TracBrowser for help on using the repository browser.