From: Felix Fietkau Date: Fri, 25 Jan 2008 11:24:00 +0000 (+0000) Subject: add libmatchbox X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0aa7bf5644179bce0f5d6794d1538c5e24ddce33;p=openwrt%2Fsvn-archive%2Fpackages.git add libmatchbox SVN-Revision: 10248 --- diff --git a/XOrg/lib/libmatchbox/Makefile b/XOrg/lib/libmatchbox/Makefile new file mode 100644 index 000000000..9937cac75 --- /dev/null +++ b/XOrg/lib/libmatchbox/Makefile @@ -0,0 +1,40 @@ +# +# Copyright (C) 2007 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:=libmatchbox +PKG_RELEASE:=1 +PKG_VERSION:=1.9 +PKG_SOURCE_URL:=http://matchbox-project.org/sources/libmatchbox/$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_MD5SUM:=9f73e7515cc4679171a5db180dc1343b +PKG_BUILD_DIR=$(BUILD_DIR)/${PKG_NAME}-$(PKG_VERSION) + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/libmatchbox + SECTION:=xorg-libraries + CATEGORY:=Xorg + SUBMENU:=libraries + DEPENDS:=+libX11 +libXft +libpng +libjpeg @DISPLAY_SUPPORT + TITLE:=libmatchbox + URL:=http://matchbox-project.org +endef + +define Build/InstallDev + DESTDIR=$(1) $(MAKE) -C $(PKG_BUILD_DIR)/ $(MAKE_FLAGS) install +endef + +define Package/libmatchbox/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_BUILD_DIR)/libmb/.libs/libmb.so* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libmatchbox))