summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/SDL_ttf/Makefile9
-rw-r--r--package/gdk-pixbuf/Makefile3
2 files changed, 10 insertions, 2 deletions
diff --git a/package/SDL_ttf/Makefile b/package/SDL_ttf/Makefile
index a76e49897..020a53502 100644
--- a/package/SDL_ttf/Makefile
+++ b/package/SDL_ttf/Makefile
@@ -14,14 +14,21 @@ PKG_BUILDDEP:= sdl freetype
PKG_URL:= http://www.libsdl.org/projects/SDL_ttf/
PKG_SITES:= http://www.libsdl.org/projects/SDL_ttf/release/
-PKG_SUBPKGS:= LIBSDL_TTF
+PKG_SUBPKGS:= LIBSDL_TTF LIBSDL_TTF_DEV
+PKGSD_LIBSDL_TTF_DEV:= development files
+PKGSC_LIBSDL_TTF_DEV:= devel
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSDL_TTF,libsdl-ttf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBSDL_TTF_DEV,libsdl-ttf-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBSDL_TTF_DEV},${PKGSC_LIBSDL_TTF_DEV}))
libsdl-ttf-install:
$(INSTALL_DIR) $(IDIR_LIBSDL_TTF)/usr/lib
$(CP) $(WRKINST)/usr/lib/libSDL_ttf*so* $(IDIR_LIBSDL_TTF)/usr/lib
+libsdl-ttf-dev-install:
+ $(INSTALL_DIR) $(IDIR_LIBSDL_TTF_DEV)/usr/include
+ $(CP) $(WRKINST)/usr/include/* $(IDIR_LIBSDL_TTF_DEV)/usr/include
+
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gdk-pixbuf/Makefile b/package/gdk-pixbuf/Makefile
index db3e3cd7e..44ca7a03d 100644
--- a/package/gdk-pixbuf/Makefile
+++ b/package/gdk-pixbuf/Makefile
@@ -14,13 +14,14 @@ PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.24/
PKG_NEED_CXX:= 1
PKG_SUBPKGS:= GDK_PIXBUF GDK_PIXBUF_DEV
+PKGSC_GDK_PIXBUF_DEV:= devel
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.xz
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GDK_PIXBUF,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,GDK_PIXBUF_DEV,gdk-pixbuf-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,GDK_PIXBUF_DEV,gdk-pixbuf-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_GDK_PIXBUF_DEV}))
CONFIGURE_ENV+= gio_can_sniff=no