add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / Xorg / xorg / app / xauth / Makefile
1 #
2 # Copyright (C) 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=xauth
11 PKG_RELEASE:=1
12 PKG_VERSION:=1.0.4
13 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.5/src/app
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_BUILD_DIR:=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
16
17 PKG_MD5SUM:=fa00078c414c4a57cab7a6d89a0c8734
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22
23 TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
24
25 define Package/xauth
26   SECTION:=xorg-app
27   CATEGORY:=Xorg
28   SUBMENU:=app
29   DEPENDS:=+libX11 +libXau +libXext +libXmuu
30   TITLE:=xauth
31   URL:=http://xorg.freedesktop.org/
32 endef
33
34 define Package/xauth/install
35         $(INSTALL_DIR) $(1)/usr/bin
36         $(INSTALL_BIN) \
37                 $(PKG_INSTALL_DIR)/usr/bin/* \
38                 $(1)/usr/bin/
39 endef
40
41 $(eval $(call BuildPackage,xauth))