packages/lcd4linux: split into 2 -custom & -full, various fixes:
[packages.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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=xsetroot
11 PKG_RELEASE:=1
12 PKG_VERSION:=1.0.3
13
14 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.5/src/app
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_BUILD_DIR:=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
17
18 PKG_MD5SUM:=cbda9b9b8da5af4614110883d5a276b8
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23
24 TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
25
26 define Package/xsetroot
27   SECTION:=xorg-app
28   CATEGORY:=Xorg
29   SUBMENU:=app
30   DEPENDS:=+xbitmaps +libXmuu +libX11
31   TITLE:=xsetroot
32   URL:=http://xorg.freedesktop.org/
33 endef
34
35 define Package/xsetroot/install
36         $(INSTALL_DIR) $(1)/usr/bin
37         $(INSTALL_BIN) \
38                 $(PKG_INSTALL_DIR)/usr/bin/* \
39                 $(1)/usr/bin
40 endef
41
42 $(eval $(call BuildPackage,xsetroot))