From 51fc69f5053e8c6367fbaac0c1c6b9ea1d325327 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Wed, 22 Jun 2011 09:35:05 +0800 Subject: [PATCH] libsdl-gfx: copy the missing .pc files, thanks Jiva --- libsdl-gfx/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libsdl-gfx/Makefile b/libsdl-gfx/Makefile index b372c4e..b0f7023 100644 --- a/libsdl-gfx/Makefile +++ b/libsdl-gfx/Makefile @@ -51,13 +51,22 @@ define Build/Compile endef define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include/SDL $(1)/usr/lib + $(INSTALL_DIR) \ + $(1)/usr/include/SDL \ + $(1)/usr/lib \ + $(1)/usr/lib/pkgconfig + $(CP) \ $(PKG_INSTALL_DIR)/usr/include/SDL/* \ $(1)/usr/include/SDL/ + $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/*.{a,so*} \ $(1)/usr/lib/ + + $(INSTALL_DATA) \ + $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ + $(1)/usr/lib/pkgconfig endef define Package/libsdl-gfx/install