buildrootschalter/package/sound-theme-borealis/sound-theme-borealis.mk
Simon Dawson 594610a39e sound-theme-borealis: new package
[thomas.petazzoni@free-electrons.com:
  slightly adjust the installation process to just do a loop of calls
  to $(INSTALL).]

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20 21:08:53 +02:00

22 lines
680 B
Makefile

#############################################################
#
# sound-theme-borealis
#
#############################################################
SOUND_THEME_BOREALIS_VERSION = 0.9a
SOUND_THEME_BOREALIS_SITE = http://ico.bukvic.net/Linux/Borealis_soundtheme
SOUND_THEME_BOREALIS_SOURCE = \
Borealis_sound_theme_ogg-$(SOUND_THEME_BOREALIS_VERSION).tar.bz2
define SOUND_THEME_BOREALIS_INSTALL_TARGET_CMDS
for f in $(@D)/*.ogg ; do \
$(INSTALL) -D -m 0644 $$f $(TARGET_DIR)/usr/share/sounds/borealis/stereo/`basename $$f` ; \
done
endef
define SOUND_THEME_BOREALIS_UNINSTALL_TARGET_CMDS
$(RM) -r $(TARGET_DIR)/usr/share/sounds/borealis
endef
$(eval $(generic-package))