summaryrefslogtreecommitdiff
path: root/package/sdl-image/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/sdl-image/Makefile
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
Diffstat (limited to 'package/sdl-image/Makefile')
-rw-r--r--package/sdl-image/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/sdl-image/Makefile b/package/sdl-image/Makefile
index f3980c7f3..37c0b9a98 100644
--- a/package/sdl-image/Makefile
+++ b/package/sdl-image/Makefile
@@ -11,10 +11,12 @@ PKG_DESCR:= Simple DirectMedia Layer
PKG_SECTION:= libs
PKG_DEPENDS:= libpng libtiff libjpeg libsdl
PKG_BUILDDEP:= libpng libtiff jpeg sdl
-PKG_URL:= http://www.libsdl.org
+PKG_URL:= http://www.libsdl.org/
PKG_SITES:= http://www.libsdl.org/projects/SDL_image/release/
-PKG_DESCR_LIB_DEV:= development files for sdlimage
-PKG_SECTION_LIB_DEV:= devel
+
+PKG_SUBPKGS:= LIBSDL_IMAGE LIBSDL_IMAGE_DEV
+PKGSD_LIBSDL_IMAGE_DEV:=development files for sdlimage
+PKGSC_LIBSDL_IMAGE_DEV:=devel
DISTFILES:= SDL_image-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/SDL_image-${PKG_VERSION}
@@ -22,7 +24,7 @@ WRKDIST= ${WRKDIR}/SDL_image-${PKG_VERSION}
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSDL_IMAGE,libsdl-image,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBSDL_IMAGE_DEV,libsdl-image-dev,$(PKG_VERSION)-${PKG_RELEASE},libsdl-image,${PKG_DESCR_LIB_DEV},${PKG_SECTION_LIB_DEV}))
+$(eval $(call PKG_template,LIBSDL_IMAGE_DEV,libsdl-image-dev,$(PKG_VERSION)-${PKG_RELEASE},libsdl-image,${PKGSD_LIBSDL_IMAGE_DEV},${PKGSC_LIBSDL_IMAGE_DEV}))
SUB_INSTALLS-y:=
SUB_INSTALLS-m:=