package: add fmtools
[Peter: fix install, help text] Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
0b9eb5713d
commit
acf7bb7217
@ -174,6 +174,7 @@ source "package/e2fsprogs/Config.in"
|
||||
source "package/eeprog/Config.in"
|
||||
source "package/fconfig/Config.in"
|
||||
source "package/fis/Config.in"
|
||||
source "package/fmtools/Config.in"
|
||||
source "package/gadgetfs-test/Config.in"
|
||||
source "package/gdisk/Config.in"
|
||||
source "package/genext2fs/Config.in"
|
||||
|
9
package/fmtools/Config.in
Normal file
9
package/fmtools/Config.in
Normal file
@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_FMTOOLS
|
||||
bool "fmtools"
|
||||
help
|
||||
fmtools is a pair of simple command-line utilities for
|
||||
"video4linux" radio tuner cards under Linux. It includes
|
||||
fm for power control, tuning, and volume and fmscan for
|
||||
scanning for stations.
|
||||
|
||||
http://www.stanford.edu/~blp/fmtools/
|
19
package/fmtools/fmtools.mk
Normal file
19
package/fmtools/fmtools.mk
Normal file
@ -0,0 +1,19 @@
|
||||
#############################################################
|
||||
#
|
||||
# fmtools
|
||||
#
|
||||
#############################################################
|
||||
|
||||
FMTOOLS_VERSION = 1.0.2
|
||||
FMTOOLS_SITE = http://www.stanford.edu/~blp/fmtools/
|
||||
|
||||
define FMTOOLS_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define FMTOOLS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/fm $(TARGET_DIR)/usr/sbin/fm
|
||||
$(INSTALL) -D -m 0755 $(@D)/fmscan $(TARGET_DIR)/usr/sbin/fmscan
|
||||
endef
|
||||
|
||||
$(eval $(call GENTARGETS))
|
Loading…
Reference in New Issue
Block a user