board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / pifmrds / pifmrds.mk
bloba30c0136f23bc2b4293ca35936943e46bd09dbcc
1 ################################################################################
3 # pifmrds
5 ################################################################################
7 PIFMRDS_VERSION = 0bf57f9ce0d954365a38d8af8e7be6f28521c3f2
8 PIFMRDS_SITE = $(call github,ChristopheJacquet,PiFmRds,$(PIFMRDS_VERSION))
9 PIFMRDS_DEPENDENCIES = libsndfile
10 PIFMRDS_LICENSE = GPLv3+
11 PIFMRDS_LICENSE_FILES = LICENSE
13 define PIFMRDS_BUILD_CMDS
14 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src CC="$(TARGET_CC)" LDFLAGS="$(TARGET_LDFLAGS)" \
15 CFLAGS="$(TARGET_CFLAGS) -std=gnu99 -ffast-math -c" \
16 app rds_wav
17 endef
19 define PIFMRDS_INSTALL_TARGET_CMDS
20 $(INSTALL) -D -m 0755 $(@D)/src/pi_fm_rds $(TARGET_DIR)/usr/bin/pi_fm_rds
21 $(INSTALL) -D -m 0755 $(@D)/src/rds_wav $(TARGET_DIR)/usr/bin/rds_wav
22 endef
24 $(eval $(generic-package))