From patchwork Mon Mar 18 08:36:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 228406 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 DC5902C00AC for ; Mon, 18 Mar 2013 19:36:55 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B9BA910B890; Mon, 18 Mar 2013 08:36:39 +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 8PsrL-OKGtur; Mon, 18 Mar 2013 08:36:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 76332103AC2; Mon, 18 Mar 2013 08:36:29 +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 ECB7B8F7A6 for ; Mon, 18 Mar 2013 08:36:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E2335A00CA for ; Mon, 18 Mar 2013 08:36:38 +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 iHe5TbXYBIuW for ; Mon, 18 Mar 2013 08:36:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by hemlock.osuosl.org (Postfix) with ESMTP id 7ED89A00DC for ; Mon, 18 Mar 2013 08:36:35 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 2E31F83E; Mon, 18 Mar 2013 09:36:35 +0100 (CET) Received: from localhost (unknown [37.161.103.104]) by mail.free-electrons.com (Postfix) with ESMTPSA id 5BA4480C for ; Mon, 18 Mar 2013 09:36:34 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Mon, 18 Mar 2013 09:36:18 +0100 Message-Id: <1363595779-5094-3-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1363595779-5094-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1363595779-5094-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 2/3] urg: handle config scripts properly 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 urg installs two -config scripts, so the ones installed in $(STAGING_DIR) should be fixed up, and the ones installed in $(TARGET_DIR) should be removed. Use the _CONFIG_SCRIPTS infrastructure to do this. Signed-off-by: Thomas Petazzoni --- package/urg/urg.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/urg/urg.mk b/package/urg/urg.mk index b544ece..99f63a9 100644 --- a/package/urg/urg.mk +++ b/package/urg/urg.mk @@ -17,6 +17,8 @@ URG_DEPENDENCIES = sdl sdl_net URG_CONF_OPT = --with-sdl-prefix=$(STAGING_DIR)/usr \ --with-sdl-exec-prefix=$(STAGING_DIR)/usr +URG_CONFIG_SCRIPTS = c_urg-config urg-config + define URG_EXTRACT_CMDS $(RM) -rf $(URG_DIR) unzip -q -d $(BUILD_DIR)/ $(DL_DIR)/$(URG_SOURCE)