[packages] luasec: update to 0.4
[openwrt/svn-archive/archive.git] / Xorg / app / rxvt / 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:=rxvt
12 PKG_RELEASE:=1
13 PKG_VERSION:=2.7.10
14 PKG_SOURCE_URL:=@SF/rxvt
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
17
18 include $(INCLUDE_DIR)/package.mk
19
20 PKG_INSTALL:=1
21
22 #TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
23
24 define Package/rxvt
25 SECTION:=xorg-app
26 CATEGORY:=Xorg
27 SUBMENU:=app
28 DEPENDS:=+libX11 +libXext +libXau +libXtst +imlib2
29 TITLE:=rxvt
30 URL:=http://rxvt.sourceforge.net
31 endef
32
33 define Package/rxvt/install
34 $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/share/applications $(1)/usr/share/icons
35 $(INSTALL_BIN) \
36 $(PKG_INSTALL_DIR)/usr/bin/* \
37 $(1)/usr/bin/
38 $(INSTALL_DATA) \
39 ./files/rxvt.desktop \
40 $(1)/usr/share/applications/rxvt.desktop
41 $(INSTALL_DATA) \
42 ./files/icon.png \
43 $(1)/usr/share/icons/rxvt.png
44 endef
45
46 $(eval $(call BuildPackage,rxvt))