[packages] Add missing md5sums
[packages.git] / Xorg / app / xmessage / Makefile
1 #
2 # Copyright (C) 2007-2010 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:=xmessage
12 PKG_VERSION:=1.0.2
13 PKG_RELEASE:=2
14
15 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.3/src/app
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
18 PKG_MD5SUM:=b4b561ef11fd184989a6062962e86748
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/xmessage
23   SECTION:=xorg-app
24   CATEGORY:=Xorg
25   SUBMENU:=app
26   DEPENDS:=+libXaw
27   TITLE:=xmessage
28   URL:=http://xorg.freedesktop.org/
29 endef
30
31 CONFIGURE_ARGS+=LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib" 
32
33 define Build/Compile
34         DESTDIR=$(PKG_INSTALL_DIR) make -C $(PKG_BUILD_DIR) install
35 endef
36
37 define Package/xmessage/install
38         $(INSTALL_DIR) $(1)
39         $(CP) $(PKG_INSTALL_DIR)/* $(1)/
40         rm -rf $(1)/usr/man/
41 endef
42
43 define Build/InstallDev
44         $(CP) $(PKG_INSTALL_DIR)/* $(1)/
45 endef
46
47 $(eval $(call BuildPackage,xmessage))