Add md5sums.
[openwrt/svn-archive/archive.git] / Xorg / xorg / app / xsetroot / 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
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=xsetroot
12 PKG_RELEASE:=4
13 PKG_VERSION:=1.0.2
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/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
17 PKG_MD5SUM:=9af7db9f3052aef0b11636720b3101dd
18
19 include $(INCLUDE_DIR)/package.mk
20
21 PKG_INSTALL:=1
22
23 TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
24
25 define Package/xsetroot
26 SECTION:=xorg-app
27 CATEGORY:=Xorg
28 SUBMENU:=app
29 DEPENDS:=+xbitmaps +libXmuu +libX11
30 TITLE:=xsetroot
31 URL:=http://xorg.freedesktop.org/
32 endef
33
34 define Package/xsetroot/install
35 $(INSTALL_DIR) $(1)/usr/bin
36 $(INSTALL_DATA) \
37 $(PKG_INSTALL_DIR)/usr/bin/* \
38 $(1)/usr/bin
39 endef
40
41 $(eval $(call BuildPackage,xsetroot))