From patchwork Mon Jun 1 07:28:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joris OFFOUGA X-Patchwork-Id: 1301636 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=140.211.166.133; helo=hemlock.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.a=rsa-sha256 header.s=20161025 header.b=Ce8u5yI8; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49b6Gk0CKHz9sT8 for ; Mon, 1 Jun 2020 17:28:29 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id F38D688744; Mon, 1 Jun 2020 07:28:26 +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 FQBitPQf7+Rl; Mon, 1 Jun 2020 07:28:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 604898876B; Mon, 1 Jun 2020 07:28:26 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 1306F1BF421 for ; Mon, 1 Jun 2020 07:28:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0FB048876B for ; Mon, 1 Jun 2020 07:28:25 +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 rVuvwf+1PmCW for ; Mon, 1 Jun 2020 07:28:24 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by hemlock.osuosl.org (Postfix) with ESMTPS id 1083988744 for ; Mon, 1 Jun 2020 07:28:24 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id c3so10325408wru.12 for ; Mon, 01 Jun 2020 00:28:23 -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=JynWpBKSm+Qogj09R8PD6v2qhaqQs/1hqCP2S/ShD6Q=; b=Ce8u5yI8HJu6ksqZNCOkPn7NC+ttxnS2GK1NL4HgLJ8zkwpFSfbTNcoCI84Ql5t/J1 NSCpuV57ZzFJaTV+9/yxDJ4gS8t2W1rpCDE0ogPUR0MYBQHXjYE7VHrsCMQuHduruB6r E20f7V+ucISlKKo+P3/eYyZQbCH02iMYdtCtVQltSiHmOssYc6Tkgh33zWMSIkXtSt/x WelDsxtE1TrkU40xVv649fmYHGQyJ6xJ6EavC9bjP0dpvA7xPOMKFAWBCKvhJ1ST+CS2 H3denzgHMmpFeSJnVvA3WSdYNF5oNHW7QRRh7hZeqzB8AWhq7GzirxGlTn6lvOCmegzf sYIw== 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=JynWpBKSm+Qogj09R8PD6v2qhaqQs/1hqCP2S/ShD6Q=; b=DuqTIbacpR7DlSge9nZeBYrIRwXS1qAMvO8w2B8pxH8FB5CBJva0BRM9NMNJ1gHAiO lMlqT716Av7l/R3MhiYtf6OSuJPLPGoKK0accGBxvJtTEssoC+Buo/UUQG4BwvPtmOhy 8So07vAnTI+uDat8e1sGx3sAnH/kwpBHTt8h75T+jw4lted+LfVsOPZC2Slb0sYVGSAc PzkqfqWqJWY0jUDZbkP3Cctx2htd6lFRpCmv+fDvGwRx5TMjPTk3m1Gp9w0ncN034nV7 u4HP7Ht75VB/7jEA7vF8Zyx9Z8euMbPqDjf7/cvRQWACk5WZwyTxp/z4ZeC3xluhmkJ+ sW/w== X-Gm-Message-State: AOAM533fCojRzpQIDPS0dHlat66Kt9M3pctE+gMSdNPumdn3IQ1Y2SUm E28SE637B1HPBl140N8y3Rjxc+2a X-Google-Smtp-Source: ABdhPJwGLA21IcCdlTQG/XLr90dRFo3lPFHtDdvQXeX27WruTw23ScsKP9FRZ+ehBmUdYvRWiFWGpw== X-Received: by 2002:a5d:49cd:: with SMTP id t13mr22444600wrs.292.1590996502091; Mon, 01 Jun 2020 00:28:22 -0700 (PDT) Received: from XPS-15-7590.home ([2a01:cb19:16b:9900:858e:b9ba:dd49:95c8]) by smtp.gmail.com with ESMTPSA id v24sm11089269wmh.45.2020.06.01.00.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jun 2020 00:28:21 -0700 (PDT) From: Joris Offouga To: buildroot@buildroot.org Date: Mon, 1 Jun 2020 09:28:16 +0200 Message-Id: <20200601072816.4785-1-offougajoris@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH V4] package/c-periphery: bump version to 2.2.1 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: Joris Offouga , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Since commit "cmake: add cmake build support" (https://github.com/vsergeev/c-periphery/commit/952e1e906a5d65b78932128af24b7dbb8cce2e9dvsergeev/c-periphery@d0a973c), c-periphery implement cmake build, so use cmake-package instead of generic-package The hash of the license file is updated due to an update in the copyright year: - Copyright (c) 2014-2019 vsergeev / Ivan (Vanya) A. Sergeev + Copyright (c) 2014-2020 vsergeev / Ivan (Vanya) A. Sergeev Signed-off-by: Joris Offouga --- package/c-periphery/c-periphery.hash | 4 ++-- package/c-periphery/c-periphery.mk | 19 +++---------------- 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/package/c-periphery/c-periphery.hash b/package/c-periphery/c-periphery.hash index 244f8f60f1..a1842612b9 100644 --- a/package/c-periphery/c-periphery.hash +++ b/package/c-periphery/c-periphery.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 1c455c42b26818d199ac227cd19714f265623e15d363fdfdf47a2416a4165654 c-periphery-2.1.0.tar.gz -sha256 e7b9464cb8511f19ddb40f9cf52fe86b3dfe38b2faed9d7bbc3d5707677ffbe3 LICENSE +sha256 7afa2a18e0bf0ccb09b832017c61a411a94cff648a9a57f9f9068bcf14a5d972 c-periphery-2.2.1.tar.gz +sha256 7121a0a2ba36ed9388be2f1a916f0e3584d8e49cc7888fbcfcf83bab2a8bebef LICENSE diff --git a/package/c-periphery/c-periphery.mk b/package/c-periphery/c-periphery.mk index bb50434efa..6687dced6f 100644 --- a/package/c-periphery/c-periphery.mk +++ b/package/c-periphery/c-periphery.mk @@ -4,24 +4,11 @@ # ################################################################################ -C_PERIPHERY_VERSION = 2.1.0 +C_PERIPHERY_VERSION = 2.2.1 C_PERIPHERY_SITE = $(call github,vsergeev,c-periphery,v$(C_PERIPHERY_VERSION)) C_PERIPHERY_INSTALL_STAGING = YES -# only a static library -C_PERIPHERY_INSTALL_TARGET = NO +C_PERIPHERY_INSTALL_TARGET = YES C_PERIPHERY_LICENSE = MIT C_PERIPHERY_LICENSE_FILES = LICENSE -define C_PERIPHERY_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -endef - -# There is no 'install' rule in the Makefile, so we handle things -# manually. -define C_PERIPHERY_INSTALL_STAGING_CMDS - $(INSTALL) -D -m 0644 $(@D)/periphery.a $(STAGING_DIR)/usr/lib/libc-periphery.a - mkdir -p $(STAGING_DIR)/usr/include/c-periphery/ - cp -dpfr $(@D)/src/*.h $(STAGING_DIR)/usr/include/c-periphery/ -endef - -$(eval $(generic-package)) +$(eval $(cmake-package))