[packages] Update xorg apps to Xorg 7.5
[openwrt/svn-archive/archive.git] / Xorg / xorg / app / xwd / Makefile
1 #
2 # Copyright (C) 2007-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 # blogic@openwrt.org
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=xwd
12 PKG_RELEASE:=1
13 PKG_VERSION:=1.0.3
14
15 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.5/src/app
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17 PKG_BUILD_DIR:=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
18
19 PKG_MD5SUM:=007cea1f389abde5c93162dcd5541351
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
25
26 define Package/xwd
27 SECTION:=xorg-app
28 CATEGORY:=Xorg
29 SUBMENU:=app
30 DEPENDS:=+libX11
31 TITLE:=xwd
32 URL:=http://xorg.freedesktop.org/
33 endef
34
35 define Package/xwd/install
36 $(INSTALL_DIR) $(1)/usr/bin
37 $(INSTALL_BIN) \
38 $(PKG_INSTALL_DIR)/usr/bin/* \
39 $(1)/usr/bin
40 endef
41
42 $(eval $(call BuildPackage,xwd))