summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/SDL_ttf/Makefile3
-rw-r--r--package/sdl-image/Makefile5
-rw-r--r--package/sdl/Makefile2
3 files changed, 9 insertions, 1 deletions
diff --git a/package/SDL_ttf/Makefile b/package/SDL_ttf/Makefile
index 020a53502..0afba1946 100644
--- a/package/SDL_ttf/Makefile
+++ b/package/SDL_ttf/Makefile
@@ -30,5 +30,8 @@ libsdl-ttf-install:
libsdl-ttf-dev-install:
$(INSTALL_DIR) $(IDIR_LIBSDL_TTF_DEV)/usr/include
$(CP) $(WRKINST)/usr/include/* $(IDIR_LIBSDL_TTF_DEV)/usr/include
+ $(INSTALL_DIR) $(IDIR_LIBSDL_TTF_DEV)/usr/lib/pkgconfig
+ $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
+ $(IDIR_LIBSDL_TTF_DEV)/usr/lib/pkgconfig
include ${TOPDIR}/mk/pkg-bottom.mk
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
diff --git a/package/sdl/Makefile b/package/sdl/Makefile
index d36b9d55b..f911ee0f7 100644
--- a/package/sdl/Makefile
+++ b/package/sdl/Makefile
@@ -54,5 +54,7 @@ libsdl-dev-install:
$(IDIR_LIBSDL_DEV)/usr/bin
$(INSTALL_DIR) $(IDIR_LIBSDL_DEV)/usr/include/SDL
$(CP) ${WRKINST}/usr/include/SDL/* $(IDIR_LIBSDL_DEV)/usr/include/SDL
+ $(INSTALL_DIR) $(IDIR_LIBSDL_DEV)/usr/lib/pkgconfig
+ $(CP) ${WRKINST}/usr/lib/pkgconfig/*.pc $(IDIR_LIBSDL_DEV)/usr/lib/pkgconfig
include ${TOPDIR}/mk/pkg-bottom.mk