From patchwork Thu Sep 5 17:07:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1158615 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Rs2n2NV4"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46PRv85DtFz9s7T for ; Fri, 6 Sep 2019 03:07:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2FBFE87C4E; Thu, 5 Sep 2019 17:07:12 +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 paAIncI+tsez; Thu, 5 Sep 2019 17:07:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C52BB8784E; Thu, 5 Sep 2019 17:07:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 934271BF28C for ; Thu, 5 Sep 2019 17:07:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 905C086B00 for ; Thu, 5 Sep 2019 17:07:09 +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 9XfiWZig4OaV for ; Thu, 5 Sep 2019 17:07:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id CC64486AB5 for ; Thu, 5 Sep 2019 17:07:08 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id q19so3652647wmc.3 for ; Thu, 05 Sep 2019 10:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uREhA3VlDJ+hAtGGKPmxboVJ993/hI+lFgeJbYMhxEM=; b=Rs2n2NV4s0aXByL3UAarwNfEYfoZDtQRQEB4RbGqfkKeYOLcmBmkMG8Zn7IdHnY3Vv 8ULKLxkaJSkTAG8+gy2ms9XUj4tZjX+wTtQ6VuhfWu00POkK0dVTpgnpn1pijWfqHrNj doE68ir8TdYoRT7pRw7CqyfA01Fr6P1CWKCvqAWuN3gyta+tvPMUNbBjnByoBsSsdjqr NbvIjptIhRHV3emOrL9O/ZQ4Xf94I8YFlyRqRjgGuFiOMMb1guHJlE1HrVa8Y3V8UvWQ xmH1m1kpynnFgx5MQ9gWORjg6+kMpAuSuD9F4ncHtzfknBdwXSZ/se7dWfUsunhHpbNw kfuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uREhA3VlDJ+hAtGGKPmxboVJ993/hI+lFgeJbYMhxEM=; b=Fv1Tz5SDLHX/bR6+FDMVaQd3HDWuxNQ9SLhsBhaYyg79MG7Ju8omIIdXgr1arScVJy DwpncUHsO71tJkF/Adcr/h7PDSyYN5Or8QeXlWtEKkiYLgbtUnKzaziToAmH+E65ANqh 4OHnsrL+F4vwm0p3oMgjVohuW46ZMBTzCh/sILPHh2Tt77DTFvhTWBFX/pxX/yACmdVh q9mU+YXktC20KLGB00/oyOaEVQIW0Tnpru+R8V2h45iakkHy9trA5sFyBaUohji3FB7S oXXj8YHmXJZeyJnI7NsHUpyhrovVzusGJxXVDQdXYNTm03oVNtpVcwCSbTyksi4Jcl1d g3CA== X-Gm-Message-State: APjAAAXCaW5MGhG8JtrA69iTp5dYo8niGWxWcMk0SrYPkNmlBhgCtK6y lBAwXvXxh8Wi8/Q5r8OWXppSacXylms= X-Google-Smtp-Source: APXvYqzUzTHZDTjO2vXHq3uULg8S9xUtZUx2/mZxoTA09kX+ZzqunrFu/mvsMEjRWGMMkX1nnxQi6A== X-Received: by 2002:a1c:7c1a:: with SMTP id x26mr4173961wmc.115.1567703227016; Thu, 05 Sep 2019 10:07:07 -0700 (PDT) Received: from kali.home (lfbn-ren-1-605-248.w81-53.abo.wanadoo.fr. [81.53.181.248]) by smtp.gmail.com with ESMTPSA id z142sm6824096wmc.24.2019.09.05.10.07.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2019 10:07:06 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Thu, 5 Sep 2019 19:07:31 +0200 Message-Id: <20190905170731.3520-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.23.0.rc1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/luv: install libluv.pc.in X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Archive 1.30.1-0 doesn't contain libluv.pc.in which will break the build Fixes: - http://autobuild.buildroot.org/results/5ec6b5a3622c343f7e401b7da7d4a1da15be2733 Signed-off-by: Fabrice Fontaine Acked-by: Jörg Krause --- package/luv/libluv.pc.in | 12 ++++++++++++ package/luv/luv.mk | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 package/luv/libluv.pc.in diff --git a/package/luv/libluv.pc.in b/package/luv/libluv.pc.in new file mode 100644 index 0000000000..d1544f6504 --- /dev/null +++ b/package/luv/libluv.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=${prefix} +libdir=@libdir@ +includedir=@includedir@ + +Name: libluv +Version: @LUV_VERSION@ +Description: Bare and full libuv bindings for Lua/LuaJIT. +URL: https://github.com/luvit/luv + +Libs: -L${libdir} -lluv @LIBS@ +Cflags: -I${includedir} diff --git a/package/luv/luv.mk b/package/luv/luv.mk index 31288ffca3..c6a8eab158 100644 --- a/package/luv/luv.mk +++ b/package/luv/luv.mk @@ -11,6 +11,12 @@ LUV_LICENSE_FILES = LICENSE.txt LUV_DEPENDENCIES = libuv LUV_INSTALL_STAGING = YES +# Archive 1.30.1-0 doesn't contain libluv.pc.in so install it in this hook +define LUV_INSTALL_PC_IN + cp package/luv/libluv.pc.in $(@D)/ +endef +LUV_POST_EXTRACT_HOOKS += LUV_INSTALL_PC_IN + LUV_CONF_OPTS += \ -DBUILD_MODULE=OFF \ -DWITH_SHARED_LIBUV=ON \