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/matchbox-window-manager/$(PKG_VERSION)
21 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
22 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib/libiconv/lib \
23 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib/libintl/lib
25 include $(INCLUDE_DIR)/package.mk
27 define Package/matchbox
28 TITLE:=matchbox window manager
31 DEPENDS:=+libX11 +zlib +libfreetype +fontconfig +libmatchbox
35 $(MAKE) -C $(PKG_BUILD_DIR) \
36 DESTDIR="$(PKG_INSTALL_DIR)" \
37 LIBMB_LIBS="-L$(STAGING_DIR)/usr/lib -lfontconfig -lXrender -lz -lexpat -lfreetype -lXft -lmb -lX11 -lXext -lXau -lXdmcp -lpng12" \
41 define Package/matchbox/install
43 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
46 $(eval $(call BuildPackage,matchbox))