From patchwork Tue Mar 3 09:17:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 445614 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 39BA71400F1 for ; Tue, 3 Mar 2015 20:19:44 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=Rp4ZqQP7; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7F09F9098E; Tue, 3 Mar 2015 09:19:43 +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 BaDMA8emCJIF; Tue, 3 Mar 2015 09:19:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 7289191914; Tue, 3 Mar 2015 09:19:20 +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 C30E51C0B50 for ; Tue, 3 Mar 2015 09:19:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BC4519098E for ; Tue, 3 Mar 2015 09:19:18 +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 QSuAt6BqoaHO for ; Tue, 3 Mar 2015 09:19:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by whitealder.osuosl.org (Postfix) with ESMTPS id 989D290F9E for ; Tue, 3 Mar 2015 09:19:06 +0000 (UTC) Received: by padbj1 with SMTP id bj1so26053152pad.11 for ; Tue, 03 Mar 2015 01:19:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=3aiv8jJTNcmVMWGOJ5kOc8HACxM9QWdZ3hjU1if6Ocs=; b=Rp4ZqQP7wRHNZjDiixsCjoqAwFcmwZGiNaJAFqmUUstBykVaVrhWAbq5nWWrvT8+kx 0AOoYQ7aJ6zWaKo/t5NSAEcEaJ8bRwqpj6P8kj/ev3yU1uS4bI1xVnhdju0tD/momdxn V7kD7XVvTOemxmnU3+WZvh7l3LM/3T99TK/QefCsu5ElAUJfUzFfW8i0+NdefcLdloND kpseKaCRqhtllGmvyX97l9tQbJNV5mdW4FgUv7a9nLBSO7GpBKIoJqGDatU01lxOHB1Z mRVK7MVBjkWcQsPSyiMSXhL0k1Upb1c4rWd2O/ppA2WzeN4SoCas9Y9W4Cvmj7pWrO7A wy+Q== X-Received: by 10.67.7.10 with SMTP id cy10mr52761132pad.151.1425374346409; Tue, 03 Mar 2015 01:19:06 -0800 (PST) Received: from ld2077.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPSA id fs13sm323638pdb.38.2015.03.03.01.19.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2015 01:19:05 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Tue, 3 Mar 2015 10:17:32 +0100 Message-Id: <1425374255-6827-28-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 2.3.1 In-Reply-To: <1425374255-6827-1-git-send-email-fabio.porcedda@gmail.com> References: <1425374255-6827-1-git-send-email-fabio.porcedda@gmail.com> Subject: [Buildroot] [RFC v3 27/30] pkg-luarocks: add support for per-package staging directory 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" Signed-off-by: Fabio Porcedda --- package/pkg-luarocks.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/pkg-luarocks.mk b/package/pkg-luarocks.mk index 83f338e..4bdaff3 100644 --- a/package/pkg-luarocks.mk +++ b/package/pkg-luarocks.mk @@ -59,7 +59,10 @@ endif ifndef $(2)_INSTALL_TARGET_CMDS define $(2)_INSTALL_TARGET_CMDS cd $$($(2)_SRCDIR) && \ - $$(LUAROCKS_RUN) make --keep $$($(2)_ROCKSPEC) $$($(2)_BUILD_OPTS) + $$(LUAROCKS_RUN) make --keep $$($(2)_ROCKSPEC) \ + $$($(2)_BUILD_OPTS) OPENSSL_DIR=$$(STAGING_DIR)/usr \ + EXPAT_DIR=$$(STAGING_DIR)/usr ZLIB_DIR=$$(STAGING_DIR)/usr \ + SQLITE_DIR=$$(STAGING_DIR)/usr endef endif