From patchwork Sat Mar 31 22:11:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 149895 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 34F48B6FE5 for ; Sun, 1 Apr 2012 08:12:01 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E9D238BB06; Sat, 31 Mar 2012 22:11:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RoumwWfmSaeq; Sat, 31 Mar 2012 22:11:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 440508CA34; Sat, 31 Mar 2012 22:11:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id AADE28F753 for ; Sat, 31 Mar 2012 22:11:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9ECCD10030A for ; Sat, 31 Mar 2012 22:11:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zwyXDnsq6rJt for ; Sat, 31 Mar 2012 22:11:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 9E148100116 for ; Sat, 31 Mar 2012 22:11:51 +0000 (UTC) Received: by wgbgn7 with SMTP id gn7so1469848wgb.21 for ; Sat, 31 Mar 2012 15:11:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; bh=I53x2ZTbFShNKy9DD4LDHV5pSz0/WoPn7ZLNqh+an6I=; b=cs9xtF7f3xUFXxf/dQQPAM1PcGZrDE+vLiV17LvLgkfjmJqTRhQIU9sckDSzWKcHWs We17WQ07+eQQ9vllDmblJgVwntWbzVWnqunvTDAN5cZ4fLOY8rP2L6JKzjJHozPFi1ai gjlupTWGjpBjzQ96RVhzV4WZpqKbiAY6xWE+DAIBhZQEoKlDPOqHBAh6J2ETXgloGGsK b3NjEFJlmaNLiwFpTTstAD9+YXreRKcNjN+ACs9vbBWMO8xDCHZM8clLzQu0pEoTJr+q PLORrjP3yHRrrqGk1tuQGPeR7pGd6fzHQe5PIfRxG77Rnf8i0okkKsoI+9KcTWQkDGsa 6TBg== Received: by 10.180.106.9 with SMTP id gq9mr9642316wib.17.1333231909572; Sat, 31 Mar 2012 15:11:49 -0700 (PDT) Received: from localhost.localdomain ([178.143.117.169]) by mx.google.com with ESMTPS id n8sm31356276wix.10.2012.03.31.15.11.48 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 31 Mar 2012 15:11:48 -0700 (PDT) From: Marek Belisko To: buildroot@uclibc.org Date: Sun, 1 Apr 2012 00:11:38 +0200 Message-Id: <1333231898-20980-1-git-send-email-marek.belisko@open-nandra.com> X-Mailer: git-send-email 1.7.5.4 MIME-Version: 1.0 Cc: Marek Belisko Subject: [Buildroot] =?utf-8?q?=5BPATCH=5D_Add_fmtools_package=2E?= 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: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Marek Belisko --- package/Config.in | 1 + package/fmtools/Config.in | 9 +++++++++ package/fmtools/fmtools.mk | 19 +++++++++++++++++++ 3 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 package/fmtools/Config.in create mode 100644 package/fmtools/fmtools.mk diff --git a/package/Config.in b/package/Config.in index 68d28fa..94faf44 100644 --- a/package/Config.in +++ b/package/Config.in @@ -175,6 +175,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..41c883c --- /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..c03afbc --- /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) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all +endef + +define FMTOOLS_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/fm $(TARGET_DIR)/usr/sbin + $(INSTALL) -D -m 0755 $(@D)/fmscan $(TARGET_DIR)/usr/sbin +endef + +$(eval $(call GENTARGETS))