summaryrefslogtreecommitdiff
path: root/package/sdl-image/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/sdl-image/Makefile')
-rw-r--r--package/sdl-image/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/sdl-image/Makefile b/package/sdl-image/Makefile
index c5749444a..a87760694 100644
--- a/package/sdl-image/Makefile
+++ b/package/sdl-image/Makefile
@@ -32,7 +32,7 @@ CONFIGURE_ARGS+= --enable-png \
--enable-bmp \
--enable-tif
-post-install:
+libsdl-image-install:
$(INSTALL_DIR) $(IDIR_LIBSDL_IMAGE)/usr/lib
$(CP) ${WRKINST}/usr/lib/libSDL*.so* $(IDIR_LIBSDL_IMAGE)/usr/lib
@@ -40,5 +40,8 @@ libsdl-image-dev-install:
$(INSTALL_DIR) $(IDIR_LIBSDL_IMAGE_DEV)/usr/include/SDL
$(CP) ${WRKINST}/usr/include/SDL/*.h \
$(IDIR_LIBSDL_IMAGE_DEV)/usr/include/SDL
+ $(INSTALL_DIR) $(IDIR_LIBSDL_IMAGE_DEV)/usr/lib/pkgconfig
+ $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
+ $(IDIR_LIBSDL_IMAGE_DEV)/usr/lib/pkgconfig
include ${TOPDIR}/mk/pkg-bottom.mk