From patchwork Mon Oct 13 08:31:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 399091 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 A2FDE1400B7 for ; Mon, 13 Oct 2014 19:32:09 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2BE9491C2D; Mon, 13 Oct 2014 08:32:08 +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 e1ki7q8SSLkH; Mon, 13 Oct 2014 08:32:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 17ECD91C15; Mon, 13 Oct 2014 08:32:07 +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 594E31BFAA6 for ; Mon, 13 Oct 2014 08:32:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 54EB995207 for ; Mon, 13 Oct 2014 08:32:05 +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 zZD1ack6n2cN for ; Mon, 13 Oct 2014 08:32:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by hemlock.osuosl.org (Postfix) with ESMTPS id 736EF95247 for ; Mon, 13 Oct 2014 08:32:04 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hi2so6711595wib.14 for ; Mon, 13 Oct 2014 01:32:02 -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=DmlQFoymy43WMTUOT7EXG+TI4UpjnC7kaNk7UpkN5bY=; b=AzPNCf5r0ln1lgkjrSez7i42aAzw4MuQ/pjgRSnFCnoev+pV5UvDDr4UGlIh0P0qTj RhGz/gVWJR/b6HRkzcJ5f7REmVxxewwVza2NGW5O/C5YYW+I0z6qxsk7ePPETqXnH6b0 x+b/6sa39vLU8sqxuuKonpTFO25kXXa4qUfaZzUKmC3ckkD8zfdGlu67zz0qogTiqraG 2cs91aLkAipK+ljkVZJaaFkccn40eQlSZ8PhZFqaEC9XH3TFrofboZaYljzE+8fDOm2t 2/4oFW8wHp1PIxGhN/uXJixxmKO183OUlexVZKLXcdrLqlMpRSBWNGfsxItRuTD4g6LM FWoQ== X-Received: by 10.194.95.8 with SMTP id dg8mr20076189wjb.1.1413189122568; Mon, 13 Oct 2014 01:32:02 -0700 (PDT) Received: from cerise.fdxtended.com ([62.156.150.204]) by mx.google.com with ESMTPSA id fq1sm570423wib.12.2014.10.13.01.32.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Oct 2014 01:32:01 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Mon, 13 Oct 2014 10:31:58 +0200 Message-Id: <1413189118-12645-1-git-send-email-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.1.1 Subject: [Buildroot] [PATCH] manual: Add note about uses of github helper X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" Add a little comment regarding the uses of the github helper for the releases. Signed-off-by: Maxime Hadjinlian Cc: Samuel Martin --- docs/manual/adding-packages-tips.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/manual/adding-packages-tips.txt b/docs/manual/adding-packages-tips.txt index 0d4fcb0..30f8184 100644 --- a/docs/manual/adding-packages-tips.txt +++ b/docs/manual/adding-packages-tips.txt @@ -52,3 +52,14 @@ FOO_SITE = $(call github,,,$(FOO_VERSION)) Buildroot (e.g.: +foo-f6fb6654af62045239caed5950bc6c7971965e60.tar.gz+), so it is not necessary to specify it in the +.mk+ file. - When using a commit ID as version, you should use the full 40 hex characters. + +If the package you wish to add does have a release section on GitHub, +you need to be careful, the maintainer of the package may have +uploaded a specific file along with the releases. +You can see it from the pages: +- If there is a green download button, like + https://github.com/zedshaw/mongrel2/releases/tag/v1.9.1[mongrel2], you + should you should specify +FOO_SITE+ like any generic packages. +- If there is grey downlaod button, like + https://github.com/xbmc/xbmc/releases/tag/13.2-Gotham[xbmc], then you + can use the 'github' helper.