Files
buildroot/package/sdlbook/sdlbook.mk
T
Apaczer 1852510148 PACKAGE/DEFCONFIG: add sdlbook app (#99)
with miyoo&optimization changes
2024-05-06 23:56:12 +02:00

25 lines
605 B
Makefile

################################################################################
#
# SDLbook
#
################################################################################
SDLBOOK_VERSION = d0c4df8edf8df4f96312641ebf4d25d5b0b042fe
SDLBOOK_SITE_METHOD = git
SDLBOOK_SITE = https://github.com/rofl0r/SDLBook
SDLBOOK_DEPENDENCIES = \
sdl \
djvu \
mupdf \
tiff
define SDLBOOK_BUILD_CMDS
$(MAKE) CC="$(TARGET_CC)" CFLAGS="-DMIYOO -Ofast -DRENDER_ONEPAGE" -C $(@D)
endef
define SDLBOOK_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/sdlbook $(TARGET_DIR)/usr/bin
endef
$(eval $(generic-package))