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
6 PKG_NAME
:= chocolate-doom
9 PKG_HASH
:= a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
11 PKG_SECTION
:= app
/games
12 PKG_DEPENDS
:= libsdl2 libsdl2-mixer libsdl2-net
13 PKG_BUILDDEP
:= sdl2 sdl2-mixer sdl2-net
14 PKG_URL
:= https
://www.chocolate-doom.org
15 PKG_SITES
:= https
://github.com
/chocolate-doom
/chocolate-doom
/archive
/refs
/tags/
17 DISTFILES
:= $(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
18 WRKDIST
= ${WRKDIR}/$(PKG_NAME
)-$(PKG_NAME
)-$(PKG_VERSION
)
20 include $(ADK_TOPDIR
)/mk
/package.mk
22 $(eval
$(call PKG_template
,CHOCOLATE_DOOM
,chocolate-doom
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
24 AUTOTOOL_STYLE
:= autogen
25 TARGET_CFLAGS
+= -fcommon
27 chocolate-doom-install
:
28 $(INSTALL_DIR
) $(IDIR_CHOCOLATE_DOOM
)/usr
/bin
29 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/chocolate-doom \
30 $(IDIR_CHOCOLATE_DOOM
)/usr
/bin
32 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk