From patchwork Mon Sep 17 20:04:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 184528 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 9606F2C0086 for ; Tue, 18 Sep 2012 06:05:21 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 108EF20200; Mon, 17 Sep 2012 20:05:20 +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 L6afEEnnw02n; Mon, 17 Sep 2012 20:05:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A9DCC2523A; Mon, 17 Sep 2012 20:05:18 +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 C72528F74A for ; Mon, 17 Sep 2012 20:05:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 40A318C154 for ; Mon, 17 Sep 2012 20:05:17 +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 EqxRUqMWajS8 for ; Mon, 17 Sep 2012 20:05:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bk0-f43.google.com (mail-bk0-f43.google.com [209.85.214.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id BB2578C0A0 for ; Mon, 17 Sep 2012 20:05:14 +0000 (UTC) Received: by bkty15 with SMTP id y15so3720349bkt.16 for ; Mon, 17 Sep 2012 13:05:12 -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:in-reply-to :references; bh=LZmQnIKj6cW/Ikm74eNrC/fWHF4OCFmQWwT+GE7tApQ=; b=UAhhkDgNp/J2S9ELMNAYKMoxWBYxf21oAQQyWGQXM9DISAQrJFkF5HbJIFGnzX6UWi FUIRrrIHfqYX8FmsHGGl9aa5A6CU8e+r6eCrUVuKPdL1+5pYKwNC8A3JzfmmFQTmSi/t S6fW9iYMS1xvrsmgt1PfofDoiTJC5kDESdSE1nlP2STgQOh013QDfxQDJqlcJW63xJAN QoQw3/R51mlJYtO9E17z6v4IVk8uwGUHl3Zi2K0rOHKRI4EYiRsOq3A1xnntInEal/zL 9FYMMl99NIZbDQMy5gdkJgjgOmaiKHlihZcU5UR9R0XNR0gsPGaoowZht1oY4YjiyizQ 26tA== Received: by 10.204.156.69 with SMTP id v5mr4831559bkw.97.1347912312722; Mon, 17 Sep 2012 13:05:12 -0700 (PDT) Received: from localhost.localdomain (dial-109-230-33-91.orange.sk. [109.230.33.91]) by mx.google.com with ESMTPS id 14sm6514467bkw.15.2012.09.17.13.05.10 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Sep 2012 13:05:11 -0700 (PDT) From: Marek Belisko To: buildroot@busybox.net Date: Mon, 17 Sep 2012 22:04:37 +0200 Message-Id: <1347912277-3982-1-git-send-email-marek.belisko@open-nandra.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1347746247-12033-2-git-send-email-marek.belisko@open-nandra.com> References: <1347746247-12033-2-git-send-email-marek.belisko@open-nandra.com> Cc: Marek Belisko Subject: [Buildroot] [PATCH v2 2/2] Add FAQ entry how to properly add package from github. 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: Marek Belisko --- docs/manual/faq.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/manual/faq.txt b/docs/manual/faq.txt index 575d019..f04a93e 100644 --- a/docs/manual/faq.txt +++ b/docs/manual/faq.txt @@ -36,3 +36,23 @@ then probably you are running a Fedora (or similar) distribution, and you should install the +glibc-static+ package. This is because the +module-init-tools+ build process wants to link statically against the C library. + +How to add package from github +------------------------------ + +If package don't have version number and want to use SHA1 +(it's enough to use first 7 characters from SHA1): + +------------------------ +FOO_VERSION = 1234567 +FOO_SOURCE = --$(FOO_VERSION).tar.gz +FOO_SITE = http://github.com///tarball/ +------------------------ + +If package have version number use: + +------------------------ +FOO_VERSION = v1.0 +FOO_SOURCE = --$(FOO_VERSION).tar.gz +FOO_SITE = http://github.com///tarball/$(FOO_VERSION) +------------------------