From 05d0076d97ed69a531df1aa5cde3a1e6ed17f922 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 14 Sep 2010 19:04:46 +0200 Subject: 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. --- package/sdl/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'package/sdl') 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:= -- cgit v1.2.3