From 0aa7bf5644179bce0f5d6794d1538c5e24ddce33 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 25 Jan 2008 11:24:00 +0000 Subject: [PATCH] add libmatchbox SVN-Revision: 10248 --- XOrg/lib/libmatchbox/Makefile | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 XOrg/lib/libmatchbox/Makefile 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)) -- 2.30.2