mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-24 13:38:51 +01:00
Now use HEAD (last commit) for each of my own packages to avoid tag handling Switched to neonloop's repo for PicoArch package
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
#############################################################
|
|
#
|
|
# commander
|
|
#
|
|
#############################################################
|
|
COMMANDER_VERSION = HEAD
|
|
COMMANDER_SITE_METHOD = git
|
|
COMMANDER_SITE = https://github.com/DrUm78/commander.git
|
|
COMMANDER_LICENSE = GPL-2.0
|
|
|
|
COMMANDER_DEPENDENCIES = sdl sdl_ttf sdl_gfx
|
|
|
|
COMMANDER_CONF_OPTS = -DCMAKE_BUILD_TYPE=Release -DTARGET_PLATFORM="funkey-s" -DRES_DIR=""
|
|
#COMMANDER_CONF_OPTS += -DWITH_SYSTEM_SDL_GFX=ON -DWITH_SYSTEM_SDL_TTF=ON
|
|
|
|
define COMMANDER_INSTALL_CMDS
|
|
endef
|
|
|
|
define COMMANDER_CREATE_OPK
|
|
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/local/share/OPKs/Applications
|
|
cd $(@D); \
|
|
$(HOST_DIR)/usr/bin/mksquashfs \
|
|
opkg/commander.funkey-s.desktop \
|
|
opkg/readme.funkey-s.txt \
|
|
opkg/commander.png \
|
|
opkg/commander.sh \
|
|
res/file-image.png \
|
|
res/file-ipk.png \
|
|
res/file-is-symlink.png \
|
|
res/file-opk.png \
|
|
res/file-text.png \
|
|
res/folder.png res/up.png \
|
|
res/DroidSansFallback.ttf \
|
|
res/Fiery_Turk.ttf \
|
|
res/FreeSans.ttf \
|
|
res/libSDL-1.2.so.0.11.4 \
|
|
$(TARGET_DIR)/usr/bin/commander \
|
|
$(TARGET_DIR)/usr/local/share/OPKs/Applications/commander_funkey-s.opk \
|
|
-all-root -noappend -no-exports -no-xattrs -noappend; \
|
|
rm -rf $(TARGET_DIR)/usr/bin/commander
|
|
endef
|
|
COMMANDER_POST_INSTALL_TARGET_HOOKS += COMMANDER_CREATE_OPK
|
|
|
|
$(eval $(cmake-package))
|