Upgrade freetype to 2.3.7, and add an UninstallDev template
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11771 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7bd31b83d3
commit
bc5c1772f4
@ -9,12 +9,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=freetype
|
||||
PKG_VERSION:=2.3.6
|
||||
PKG_VERSION:=2.3.7
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@SF/freetype
|
||||
PKG_MD5SUM:=fb182d508017cb608e9df8c7dca648dc
|
||||
PKG_MD5SUM:=83306194817ebdea554133b4232a34aa
|
||||
|
||||
PKG_FIXUP = libtool
|
||||
|
||||
@ -57,6 +57,14 @@ define Build/InstallDev
|
||||
$(SED) 's,/usr/include/freetype2/,$(STAGING_DIR)/usr/include/freetype2/,g' $(2)/bin/freetype-config
|
||||
endef
|
||||
|
||||
define Build/UninstallDev
|
||||
rm -rf $(1)/bin/freetype-config \
|
||||
$(1)/usr/include/freetype2 \
|
||||
$(1)/usr/include/ft2build.h \
|
||||
$(1)/usr/lib/libfreetype.{a,so*} \
|
||||
$(1)/usr/lib/pkgconfig/freetype2.pc
|
||||
endef
|
||||
|
||||
define Package/libfreetype/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreetype.so.* $(1)/usr/lib/
|
||||
|
Loading…
x
Reference in New Issue
Block a user