Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= sdl
  5. PKG_VERSION:= 1.2.14
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e52086d1b508fa0b76c52ee30b55bec4
  8. PKG_DESCR:= Simple DirectMedia Layer
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libusb alsa-lib libpthread tslib
  11. PKG_BUILDDEP+= libusb alsa-lib tslib
  12. PKG_URL:= http://www.libsdl.org
  13. PKG_SITES:= http://www.libsdl.org/release/
  14. DISTFILES:= SDL-${PKG_VERSION}.tar.gz
  15. WRKDIST= ${WRKDIR}/SDL-${PKG_VERSION}
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBSDL,libsdl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_STYLE:= gnu
  19. CONFIGURE_ARGS+= --disable-esd \
  20. --disable-oss \
  21. --enable-alsa \
  22. --enable-video-fbcon \
  23. --disable-video-directfb \
  24. --disable-video-opengl \
  25. --enable-input-tslib \
  26. --with-x
  27. BUILD_STYLE:= auto
  28. INSTALL_STYLE:= auto
  29. post-install:
  30. $(INSTALL_DIR) $(IDIR_LIBSDL)/usr/lib
  31. $(CP) ${WRKINST}/usr/lib/libSDL*.so* $(IDIR_LIBSDL)/usr/lib
  32. include ${TOPDIR}/mk/pkg-bottom.mk