Add md5sums.
[openwrt/svn-archive/archive.git] / Xorg / xorg / app / iceauth / Makefile
1 #
2 # Copyright (C) 2007-2008 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 # $Id: Makefile 12619 2008-09-17 18:31:15Z lars $
9
10 include $(TOPDIR)/rules.mk
11
12 PKG_BASE_NAME:=iceauth
13 PKG_NAME:=iceauth
14 PKG_RELEASE:=3
15 PKG_VERSION:=1.0.2
16 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.3/src/app
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
18 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
19 PKG_MD5SUM:=7ab8b64edf0212a9d9a3c8129901a450
20 PKG_BUILD_DEPENDS:=xproto
21
22 include $(INCLUDE_DIR)/package.mk
23
24 TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
25
26 PKG_INSTALL=1
27
28 define Package/iceauth
29 SECTION:=xorg-app
30 CATEGORY:=Xorg
31 SUBMENU:=app
32 DEPENDS:=+libICE
33 TITLE:=iceauth
34 URL:=http://xorg.freedesktop.org/
35 endef
36
37 define Build/InstallDev
38 DESTDIR=$(1) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) install
39 endef
40
41 define Package/iceauth/install
42 $(INSTALL_DIR) $(1)
43 $(CP) $(PKG_INSTALL_DIR)/* $(1)
44 rm -rf $(1)/usr/man/
45 endef
46
47 $(eval $(call BuildPackage,iceauth))