From patchwork Sun Apr 1 12:18:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 149916 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 87364B6FBE for ; Sun, 1 Apr 2012 22:18:59 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D17C3A0126; Sun, 1 Apr 2012 12:18:57 +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 w-rKAOq4-tqv; Sun, 1 Apr 2012 12:18:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 57699A0026; Sun, 1 Apr 2012 12:18:56 +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 74F228F753 for ; Sun, 1 Apr 2012 12:18:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6C2A3100848 for ; Sun, 1 Apr 2012 12:18:54 +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 h5JkZeIY4IK2 for ; Sun, 1 Apr 2012 12:18:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 68D0310083D for ; Sun, 1 Apr 2012 12:18:52 +0000 (UTC) Received: by wibhm17 with SMTP id hm17so1629446wib.3 for ; Sun, 01 Apr 2012 05:18:50 -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=KZWJWSn+sFZvzyBS5Jek2od3KHJVNhXa9EyQe8r+og8=; b=N7LRoensSNVR2Xb0FX80cU4yPn2OUVoc8wNBiVxqpo6tZZP+HIQpUkMgLywMy67En0 wW4ynQsdnaVWpuZN6jgSXFr8uGBL551tnLieQcOUf7VNsyYjWdaBh/B1DJu0u/ECXuKz sgnjxjmUxKxzjlV2Yfv4SU9Fm+OqdEeOlODEnSFDx2RAl6IIXYUEpxowgdDPI0mMODNT ETj34aJyZ8oOoQH39P+KsuCd0VJzWAK5t8nkfGiUOHe/uiZcxI1ajbRmhuWSFjjHCRIm w7pFhyQYqKfaZFd5Df6P4qESgloqKllIZfk2nQ7VzB4EjsGHsBDbgd3QUYWZQw9MNWaw Sn5g== Received: by 10.180.88.164 with SMTP id bh4mr15195529wib.22.1333282730686; Sun, 01 Apr 2012 05:18:50 -0700 (PDT) Received: from localhost.localdomain ([178.143.117.169]) by mx.google.com with ESMTPS id u9sm24726056wix.0.2012.04.01.05.18.49 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 01 Apr 2012 05:18:50 -0700 (PDT) From: Marek Belisko To: buildroot@uclibc.org Date: Sun, 1 Apr 2012 14:18:43 +0200 Message-Id: <1333282723-7276-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_v2=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 Change from v1: - use $(TARGET_CONFIGURE_OPTS) instead of setting CC and LD individually (thanks Baruch) 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..32facd6 --- /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 + $(INSTALL) -D -m 0755 $(@D)/fmscan $(TARGET_DIR)/usr/sbin +endef + +$(eval $(call GENTARGETS))