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