9392fc8177b9e8437f4a577797b27c6e397f791b
[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:=2
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_BUILD_DEPENDS:=xproto
20
21 include $(INCLUDE_DIR)/package.mk
22
23 TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
24
25 PKG_INSTALL=1
26
27 define Package/iceauth
28 SECTION:=xorg-app
29 CATEGORY:=Xorg
30 SUBMENU:=app
31 DEPENDS:=+libICE
32 TITLE:=iceauth
33 URL:=http://xorg.freedesktop.org/
34 endef
35
36 define Build/InstallDev
37 DESTDIR=$(1) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) install
38 endef
39
40 define Package/iceauth/install
41 $(INSTALL_DIR) $(1)
42 $(CP) $(PKG_INSTALL_DIR)/* $(1)
43 rm -rf $(1)/usr/man/
44 endef
45
46 $(eval $(call BuildPackage,iceauth))