From patchwork Thu Oct 24 11:58:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Aujon X-Patchwork-Id: 285880 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id D870C2C0096 for ; Thu, 24 Oct 2013 22:58:55 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F41B48B95F; Thu, 24 Oct 2013 11:58: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 tIJc9YcNTSYQ; Thu, 24 Oct 2013 11:58:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 70AB48B959; Thu, 24 Oct 2013 11:58:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id EABB11C2207 for ; Thu, 24 Oct 2013 11:58:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E518A8576A for ; Thu, 24 Oct 2013 11:58:52 +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 1Rp43hTPJO9H for ; Thu, 24 Oct 2013 11:58:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by whitealder.osuosl.org (Postfix) with ESMTPS id 3970984CE3 for ; Thu, 24 Oct 2013 11:58:52 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id l12so9723884wiv.3 for ; Thu, 24 Oct 2013 04:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=s6XbSmatSSu1Gb2pXq5T5PhEZlZY3mV8cPCYRLkVhYQ=; b=XTG6Yb1rBlSiKTyS82beIk0erI+nSzizuLYZuAQApHIzYtQYOLogK5PCJGcQ0If7MB pvbYfxJq3UkpATqTcbatv+iussuT3pAvWYimHQGIGe8Ek6DaJMdCe7DEwHb6FddF3qXx pg8MC0iZN9K2BdbF46yDxlCsr2d99LXHb/RxwHsmzw9n4DMQK/kqZTD9HceRzSckxSrV 08jk2dP977wORyi4RrCKZlPD2ICyTog7CsUnf4yKJcXgx0FdevsFebsbKqisCrFnkDtW dsCAtVCQzasWmqJwV6qJIWIpRhQUAz+LApOVjMJRv2l6zYpzp6VPut4JReK3tzeHZhFj rz8Q== X-Received: by 10.194.133.133 with SMTP id pc5mr1864828wjb.57.1382615930490; Thu, 24 Oct 2013 04:58:50 -0700 (PDT) Received: from new-host-4.home (191-161-190-109.dsl.ovh.fr. [109.190.161.191]) by mx.google.com with ESMTPSA id d10sm233760wic.2.2013.10.24.04.58.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Oct 2013 04:58:50 -0700 (PDT) From: Arnaud Aujon To: buildroot@busybox.net Date: Thu, 24 Oct 2013 13:58:43 +0200 Message-Id: <1382615923-16924-1-git-send-email-arnaud.aujon@gmail.com> X-Mailer: git-send-email 1.8.3.1 Subject: [Buildroot] [PATCH] openobex: use sourceforge repository 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 Signed-off-by: Arnaud Aujon --- package/openobex/openobex.mk | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package/openobex/openobex.mk b/package/openobex/openobex.mk index 7195a26..4f383c8 100644 --- a/package/openobex/openobex.mk +++ b/package/openobex/openobex.mk @@ -4,8 +4,10 @@ # ################################################################################ -OPENOBEX_VERSION = 1.5 -OPENOBEX_SITE = http://ftp.osuosl.org/pub/linux/bluetooth +OPENOBEX_VERSION_MAJOR = 1.5 +OPENOBEX_VERSION = $(OPENOBEX_VERSION_MAJOR).0 +OPENOBEX_SOURCE = openobex-$(OPENOBEX_VERSION)-Source.zip +OPENOBEX_SITE = http://downloads.sourceforge.net/project/openobex/openobex/$(OPENOBEX_VERSION_MAJOR) # Libraries seems to be released under LGPLv2.1+, # while other material is under GPLv2+. OPENOBEX_LICENSE = GPLv2+/LGPLv2.1+ @@ -15,6 +17,12 @@ OPENOBEX_DEPENDENCIES = host-pkgconf OPENOBEX_AUTORECONF = YES OPENOBEX_INSTALL_STAGING = YES +define OPENOBEX_EXTRACT_CMDS ++ unzip -d $(@D) $(DL_DIR)/$(OPENOBEX_SOURCE) ++ mv $(@D)/openobex-$(OPENOBEX_VERSION)-Source/* $(@D) ++ $(RM) -r $(@D)/openobex-$(OPENOBEX_VERSION)-Source +endef + OPENOBEX_CONF_OPT += \ $(if $(BR2_ENABLE_DEBUG),--enable-debug) \ $(if $(BR2_PACKAGE_OPENOBEX_APPS),--enable-apps) \