From patchwork Sun Apr 8 07:41:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 151339 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 16DC9B7012 for ; Sun, 8 Apr 2012 17:44:54 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6D62E26CD1; Sun, 8 Apr 2012 07:44:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YjyDOkc9VOrJ; Sun, 8 Apr 2012 07:44:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D1FBE26399; Sun, 8 Apr 2012 07:44:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 9E7488F753 for ; Sun, 8 Apr 2012 07:44:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9BD63A0071 for ; Sun, 8 Apr 2012 07:44:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UfC2rcCjfhxu for ; Sun, 8 Apr 2012 07:44:45 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.224]) by hemlock.osuosl.org (Postfix) with ESMTP id BB3A6A006B for ; Sun, 8 Apr 2012 07:44:45 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4021) id B004C96A34; Sun, 8 Apr 2012 07:44:45 +0000 (UTC) From: Peter Korsgaard To: buildroot@busybox.net Date: Sun, 8 Apr 2012 09:41:58 +0200 X-Git-Refname: refs/heads/master X-Git-Oldrev: 0b9eb5713d971cb9af7c75e92a9647e0fd449a9e X-Git-Newrev: acf7bb7217d7de6981909112bdbd2af1faf680b5 X-Patchwork-Hint: ignore Message-Id: <20120408074445.B004C96A34@busybox.osuosl.org> Subject: [Buildroot] [git commit] package: add fmtools X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net commit: http://git.buildroot.net/buildroot/commit/?id=acf7bb7217d7de6981909112bdbd2af1faf680b5 branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master [Peter: fix install, help text] Signed-off-by: Marek Belisko Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/fmtools/Config.in | 9 +++++++++ package/fmtools/fmtools.mk | 19 +++++++++++++++++++ 3 files changed, 29 insertions(+), 0 deletions(-) diff --git a/package/Config.in b/package/Config.in index c895cc1..4c6d4d8 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/fmtools/Config.in b/package/fmtools/Config.in new file mode 100644 index 0000000..1591618 --- /dev/null +++ b/package/fmtools/Config.in @@ -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/ diff --git a/package/fmtools/fmtools.mk b/package/fmtools/fmtools.mk new file mode 100644 index 0000000..f705173 --- /dev/null +++ b/package/fmtools/fmtools.mk @@ -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))