2 # Copyright (C) 2007-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
11 PKG_NAME
:=matchbox-window-manager
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://matchbox-project.org
/sources
/$(PKG_NAME
)/$(PKG_VERSION
)
20 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
21 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
/libiconv
/lib \
22 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
/libintl
/lib
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/matchbox-window-manager
27 TITLE
:=matchbox window manager
30 SUBMENU
:=window manager
31 DEPENDS
:=+libX11
+zlib
+libfreetype
+fontconfig
+libmatchbox
+freedesktop-compliant
35 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
36 DESTDIR
=$(PKG_INSTALL_DIR
) \
37 LIBMB_LIBS
="-L$(STAGING_DIR)/usr/lib -lfontconfig -lXrender \
38 -lz -lexpat -lfreetype -lXft -lmb -lX11 -lXext -lXau -lXdmcp \
43 define Package
/matchbox-window-manager
/install
44 $(INSTALL_DIR
) $(1)/etc
/matchbox
46 $(PKG_INSTALL_DIR
)/etc
/matchbox
/kbdconfig \
49 $(INSTALL_DIR
) $(1)/usr
/bin
51 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
54 $(INSTALL_DIR
) $(1)/usr
/share
/{matchbox
,themes
}
56 $(PKG_INSTALL_DIR
)/usr
/share
/matchbox
/* \
57 $(1)/usr
/share
/matchbox
/
59 $(PKG_INSTALL_DIR
)/usr
/share
/themes
/* \
60 $(1)/usr
/share
/themes
/
61 $(INSTALL_DIR
) $(1)/etc
/uci-defaults
63 .
/files
/uci-defaults
/x11 \
64 $(1)/etc
/uci-defaults
/
67 define Package
/matchbox-window-manager
/postinst
69 [ -n
"$${IPKG_INSTROOT}" ] && exit
74 $(eval
$(call BuildPackage
,matchbox-window-manager
))