Add xfce packages.
[openwrt/svn-archive/archive.git] / xfce / wm / xfwm4 / 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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=xfwm4
12 PKG_VERSION:=4.5.93
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://www.tx-us.xfce.org/archive/xfce-$(PKG_VERSION)/src/
17 PKG_MD5SUM:=5655230f7323cda513cf3cc26b8bea78
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 TARGET_CFLAGS+= \
24 -I$(STAGING_DIR)/usr/lib/libintl/include/
25
26 TARGET_LDFLAGS+= \
27 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
28 -L$(STAGING_DIR)/usr/lib/libintl/lib
29
30 define Package/xfwm4
31 SECTION:=xorg-app
32 CATEGORY:=Xorg
33 SUBMENU:=app
34 TITLE:=xfwm4
35 DEPENDS:=+libxfce4util +libxfcegui4 +libxfconf +libdbus-glib +libwnck
36 endef
37
38 define Package/xfwm4/install
39 $(INSTALL_DIR) $(1)/usr/lib/xfce4/xfwm4
40 $(INSTALL_BIN) \
41 $(PKG_INSTALL_DIR)/usr/lib/xfce4/xfwm4/helper-dialog \
42 $(1)/usr/lib/xfce4/xfwm4/
43
44 $(INSTALL_DIR) $(1)/usr/bin/
45 $(INSTALL_BIN) \
46 $(PKG_INSTALL_DIR)/usr/bin/* \
47 $(1)/usr/bin/
48
49 $(INSTALL_DIR) $(1)/usr/share/icons/hicolor
50 $(CP) \
51 $(PKG_INSTALL_DIR)/usr/share/icons/hicolor/* \
52 $(1)/usr/share/icons/hicolor/
53
54 $(INSTALL_DIR) $(1)/usr/share/applications
55 $(INSTALL_DATA) \
56 $(PKG_INSTALL_DIR)/usr/share/applications/* \
57 $(1)/usr/share/applications/
58
59 $(INSTALL_DIR) $(1)/usr/share/themes
60 $(CP) \
61 $(PKG_INSTALL_DIR)/usr/share/themes/* \
62 $(1)/usr/share/themes/
63
64 $(INSTALL_DIR) $(1)/usr/share/xfwm4
65 $(INSTALL_DATA) \
66 $(PKG_INSTALL_DIR)/usr/share/xfwm4/* \
67 $(1)/usr/share/xfwm4/
68 endef
69
70 $(eval $(call BuildPackage,xfwm4))