From: Felix Fietkau Date: Sun, 23 Dec 2007 01:27:54 +0000 (+0000) Subject: fix freetype staging X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=78930f7277b8ae9b4b664372d2bc980e50d6dd5f;p=openwrt%2Fsvn-archive%2Fpackages.git fix freetype staging SVN-Revision: 9868 --- diff --git a/libs/freetype/Makefile b/libs/freetype/Makefile index 46fb0f680..05cb2152b 100644 --- a/libs/freetype/Makefile +++ b/libs/freetype/Makefile @@ -49,8 +49,8 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/freetype-config $(1)/usr/bin/ + mkdir -p $(2)/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/freetype-config $(2)/bin/ mkdir -p $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/freetype2 $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/ft2build.h $(1)/usr/include/ @@ -58,16 +58,16 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreetype.{a,so*} $(1)/usr/lib/ mkdir -p $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/freetype2.pc $(1)/usr/lib/pkgconfig/ - $(SED) 's,-I$$$$includedir/freetype2,-I$(1)/usr/include/freetype2,g' $(1)/usr/bin/freetype-config - $(SED) 's,/usr/include/freetype2/,$(1)/usr/include/freetype2/,g' $(1)/usr/bin/freetype-config + $(SED) 's,-I$$$$includedir/freetype2,-I$(1)/usr/include/freetype2,g' $(2)/bin/freetype-config + $(SED) 's,/usr/include/freetype2/,$(1)/usr/include/freetype2/,g' $(2)/bin/freetype-config endef define Build/UninstallDev - rm -rf $(STAGING_DIR)/usr/bin/freetype-config \ - $(STAGING_DIR)/usr/include/freetype2 \ - $(STAGING_DIR)/usr/include/ft2build.h \ - $(STAGING_DIR)/usr/lib/libfreetype.{a,so*} \ - $(STAGING_DIR)/usr/lib/pkgconfig/freetype2.pc + rm -rf $(2)/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