Skip to content

Commit

Permalink
PACKAGE-sdl_mixer: install playmus & playwave to TARGET (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Apaczer committed Jun 23, 2024
1 parent 37a80a3 commit 7dd5f71
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions package/sdl_mixer/sdl_mixer.mk
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,14 @@ else
SDL_MIXER_CONF_OPTS += --disable-music-ogg
endif

define SDL_MIXER_INSTALL_BIN
$(TARGET_STRIP) --strip-unneeded \
$(@D)/build/playmus \
$(@D)/build/playwave
$(INSTALL) -D -m 0755 $(@D)/build/playmus $(TARGET_DIR)/usr/bin
$(INSTALL) -D -m 0755 $(@D)/build/playwave $(TARGET_DIR)/usr/bin
endef

SDL_MIXER_POST_INSTALL_TARGET_HOOKS += SDL_MIXER_INSTALL_BIN

$(eval $(autotools-package))

0 comments on commit 7dd5f71

Please sign in to comment.