1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 9f0556e4a24ef5b267010038ad9e9948b62f236d5bcc4b22179f95ef62d84023
10 PKG_DESCR
:= simple directmedia layer
2
11 PKG_SECTION
:= libs
/misc
12 PKG_URL
:= http
://www.libsdl.org
/
13 PKG_SITES
:= https
://github.com
/libsdl-org
/SDL
/archive
/refs
/tags/
14 PKG_BUILDDEP
:= mesa libdrm alsa-lib DirectFB
15 PKG_DEPENDS
:= mesa libdrm alsa-lib directfb
19 DISTFILES
:= release-
$(PKG_VERSION
).
tar.gz
20 WRKDIST
= ${WRKDIR}/SDL-release-
$(PKG_VERSION
)
22 include $(ADK_TOPDIR
)/mk
/package.mk
24 $(eval
$(call PKG_template
,LIBSDL2
,libsdl2
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
),$(PKG_OPTS
)))
26 CONFIGURE_ARGS
+= --enable-video-directfb
29 $(INSTALL_DIR
) $(IDIR_LIBSDL2
)/usr
/lib
30 $(CP
) $(WRKINST
)/usr
/lib
/libSDL2
*.so
* \
31 $(IDIR_LIBSDL2
)/usr
/lib
33 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk