openwrt_archive/libs/fribidi/Makefile
Lars-Peter Clausen 80cb144ab5 [packages] Add missing md5sums
SVN-Revision: 19719
2010-02-19 01:20:44 +00:00

47 lines
1.1 KiB
Makefile

#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=fribidi
PKG_VERSION:=0.10.9
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://fribidi.org/download
PKG_MD5SUM:=647aee89079b056269ff0918dc1c6d28
PKG_FIXUP:=libtool
PKG_INSTALL:=1
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
define Package/fribidi
SECTION:=libs
CATEGORY:=Libraries
TITLE:=GNU FriBidi is an implementation of the Unicode Bidirectional Algorithm (bidi)
URL:=http://fribidi.org
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/fribidi $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig/
endef
define Package/fribidi/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfribidi.so* $(1)/usr/lib/
endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,fribidi))