From patchwork Mon Jul 5 05:40:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1500568 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=C23kWzjD; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GJF1453sBz9sX1 for ; Mon, 5 Jul 2021 15:41:28 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id AA79883753; Mon, 5 Jul 2021 05:41:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HpzTvO0ZZ5rL; Mon, 5 Jul 2021 05:41:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 2036F835BA; Mon, 5 Jul 2021 05:41:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 245321BF46A for ; Mon, 5 Jul 2021 05:41:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 13B00835BA for ; Mon, 5 Jul 2021 05:41:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Im637n8DmoWp for ; Mon, 5 Jul 2021 05:41:05 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by smtp1.osuosl.org (Postfix) with ESMTPS id 155C0835B9 for ; Mon, 5 Jul 2021 05:41:04 +0000 (UTC) Received: by mail-pf1-x431.google.com with SMTP id f17so4216468pfj.8 for ; Sun, 04 Jul 2021 22:41:04 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=8ab2Tg+KoVum6+LEAREqTcD7Eh5hl9phNtFDKR4qesU=; b=C23kWzjDbwD7SzyDIFKbhvVxaxYporYfQf7espMMbKB9ubA7Oo3hkyIzl/RTYzsaL5 KJWtpO3yjqjK+sCi8X60D95tCDZCcdiW/UdyRDiwAYXqgmPqJLXzPOJ0kvmPFp8FpoWJ i9kEG8ksqgFXbfUTXCZZWtt+b8zeJXeD7HMuvQVR+ARB2oaRInn6GfVqZoWkWMusnzUH T+6CWk/YE9hbHqpUVsz3lM6Jk2xhTnod/HCAcQK9js5NQSXAxH9tByeGbBdO04IyZ0aW j9n2We41QkfiM7kOzb9ckAeWBT9I971t3rBVuiEXvIAbQSdOabDdL6SV3Djf4q9ZiRdO fGTg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=8ab2Tg+KoVum6+LEAREqTcD7Eh5hl9phNtFDKR4qesU=; b=NMPn/MNea8adSjLN1ICQnBMMuhEEI6v+44ydCcS3Oj3IHF6V+58lYpI2lbBhdicEPU t5RgiOuchc7VfiOoxJzP6a4BnYVynySoUI8Q+vdSvpmJ/C2U5A3omSDQHQFzmGmp0C01 o1X7Wd6tfUoddFMWNsvwOXWigPfCs8BlPNsk9i1L2f8AB5xFnkBJ6roBnbzeGEtgczEW 7gIF0Z6QjbquDzfYr54abNgMViycVqxg2P61ySUYC/RAXSEIyhiABGJm1xRNVZXetSIl Lx8EK/yLLDDLkFxpUDdrbfYlrUvKPOAodPW37Ax9sHRS1NgkFwLmVhZm0HGYrVw7D603 1rYA== X-Gm-Message-State: AOAM531MtcZJL+BzfRajDp6hn+jYf8T/BZV+/rl3+Xp5ztO8htUt+D7O qp5yjjRXqXwhF0eodqlvEuofT3olum5NoQ== X-Google-Smtp-Source: ABdhPJxZbQQvrkCnO0AehOfO1MLCvXxxR6laNLaSn7wkjhj85bANeiuRLMnKSEAJ/0yza2GrYr501w== X-Received: by 2002:a63:9d03:: with SMTP id i3mr13937595pgd.397.1625463664203; Sun, 04 Jul 2021 22:41:04 -0700 (PDT) Received: from adam.duskett ([47.149.13.137]) by smtp.gmail.com with ESMTPSA id f20sm4807781pfv.47.2021.07.04.22.41.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Jul 2021 22:41:03 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Sun, 4 Jul 2021 22:40:56 -0700 Message-Id: <20210705054100.2857251-2-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210705054100.2857251-1-aduskett@gmail.com> References: <20210705054100.2857251-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/5] package/duktape/duktape.pc.in: New file 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: Marek Belisko , Fabrice Fontaine , Thomas Petazzoni , Giulio Benetti , Maxime Hadjinlian , "Yann E . MORIN" , Adam Duskett , Norbert Lange Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Most distributions include a duktape.pc file bundled with the duktape development package. As the duktape source does not include a .pc file, add one to the package/duktape directory and install it to the staging directory. This is used by the polkit duktape patch later in the series. Signed-off-by: Adam Duskett --- package/duktape/duktape.mk | 4 ++++ package/duktape/duktape.pc.in | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 package/duktape/duktape.pc.in diff --git a/package/duktape/duktape.mk b/package/duktape/duktape.mk index aadd609248..89a6e451f5 100644 --- a/package/duktape/duktape.mk +++ b/package/duktape/duktape.mk @@ -19,6 +19,10 @@ endef define DUKTAPE_INSTALL_STAGING_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary \ INSTALL_PREFIX=$(STAGING_DIR)/usr install + $(INSTALL) -D -m 0644 $(DUKTAPE_PKGDIR)/duktape.pc.in \ + $(STAGING_DIR)/usr/lib/pkgconfig/duktape.pc + $(SED) 's/@VERSION@/$(DUKTAPE_VERSION)/g;' \ + $(STAGING_DIR)/usr/lib/pkgconfig/duktape.pc endef define DUKTAPE_INSTALL_TARGET_CMDS diff --git a/package/duktape/duktape.pc.in b/package/duktape/duktape.pc.in new file mode 100644 index 0000000000..eaef5f6994 --- /dev/null +++ b/package/duktape/duktape.pc.in @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: duktape +Description: Embeddable Javascript engine +Version: @VERSION@ +Libs: -L${libdir} -lduktape +Cflags: -I${includedir}/