summaryrefslogtreecommitdiff
path: root/package/sdl
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
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')
-rw-r--r--package/sdl/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/package/sdl/Makefile b/package/sdl/Makefile
index 483022ec7..9fb10463a 100644
--- a/package/sdl/Makefile
+++ b/package/sdl/Makefile
@@ -10,11 +10,13 @@ PKG_MD5SUM:= e52086d1b508fa0b76c52ee30b55bec4
PKG_DESCR:= Simple DirectMedia Layer
PKG_SECTION:= libs
PKG_DEPENDS:= libusb alsa-lib libpthread tslib
-PKG_BUILDDEP+= libusb alsa-lib tslib
-PKG_URL:= http://www.libsdl.org
+PKG_BUILDDEP:= libusb alsa-lib tslib
+PKG_URL:= http://www.libsdl.org/
PKG_SITES:= http://www.libsdl.org/release/
-PKG_DESCR_LIB_DEV:= development files for libsdl
-PKG_SECTION_LIB_DEV:= devel
+
+PKG_SUBPKGS:= LIBSDL LIBSDL_DEV
+PKGSD_LIBSDL_DEV:= development files for libsdl
+PKGSC_LIBSDL_DEV:= devel
DISTFILES:= SDL-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/SDL-${PKG_VERSION}
@@ -22,7 +24,7 @@ WRKDIST= ${WRKDIR}/SDL-${PKG_VERSION}
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSDL,libsdl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBSDL_DEV,libsdl-dev,$(PKG_VERSION)-${PKG_RELEASE},libsdl,${PKG_DESCR_LIB_DEV},${PKG_SECTION_LIB_DEV}))
+$(eval $(call PKG_template,LIBSDL_DEV,libsdl-dev,$(PKG_VERSION)-${PKG_RELEASE},libsdl,${PKGSD_LIBSDL_DEV},${PKGSC_LIBSDL_DEV}))
SUB_INSTALLS-y:=
SUB_INSTALLS-m:=