lars d86c5b94b0 Rename matchbox to matchbox-window-manager as suggested by hanez since its the
actuall package name and better fits the naming scheme of soon to be added
matchbox packages.


git-svn-id: svn://svn.openwrt.org/openwrt/packages@13865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 21:00:38 +00:00

48 lines
1.2 KiB
Makefile

#
# Copyright (C) 2007-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# blogic@openwrt.org
include $(TOPDIR)/rules.mk
PKG_NAME:=matchbox-window-manager
PKG_VERSION:=1.2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://matchbox-project.org/sources/matchbox-window-manager/$(PKG_VERSION)
PKG_FIXUP = libtool
TARGET_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib/libiconv/lib \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib/libintl/lib
include $(INCLUDE_DIR)/package.mk
define Package/matchbox-window-manager
TITLE:=matchbox window manager
SECTION:=xorg-wm
CATEGORY:=Xorg
SUBMENU:=window manager
DEPENDS:=+libX11 +zlib +libfreetype +fontconfig +libmatchbox
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
LIBMB_LIBS="-L$(STAGING_DIR)/usr/lib -lfontconfig -lXrender -lz -lexpat -lfreetype -lXft -lmb -lX11 -lXext -lXau -lXdmcp -lpng12" \
all install
endef
define Package/matchbox-window-manager/install
$(INSTALL_DIR) $(1)/
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef
$(eval $(call BuildPackage,matchbox-window-manager))