Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: i2pd-devel-2.46.0
@ 2023-03-22  2:35 kevcrumb
  2023-03-22  4:15 ` [PR REVIEW] " classabbyamp
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: kevcrumb @ 2023-03-22  2:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

There is a new pull request by kevcrumb against master on the void-packages repository

https://github.com/kevcrumb/void-packages i2pd-devel
https://github.com/void-linux/void-packages/pull/42915

New package: i2pd-devel-2.46.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-glibc
  - aarch64-musl
  - aarch64-glibc

A patch file from https://github.com/void-linux/void-packages/pull/42915.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-i2pd-devel-42915.patch --]
[-- Type: text/x-diff, Size: 1525 bytes --]

From b74beb7bb8ac3fe0ef9f8cf864dec251e6135acd Mon Sep 17 00:00:00 2001
From: Kevin Crumb <kevcrumb@splitlinux.org>
Date: Wed, 22 Mar 2023 01:10:52 +0000
Subject: [PATCH] New package: i2pd-devel-2.46.0

---
 srcpkgs/i2pd-devel    |  1 +
 srcpkgs/i2pd/template | 19 ++++++++++++++++++-
 2 files changed, 19 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/i2pd-devel

diff --git a/srcpkgs/i2pd-devel b/srcpkgs/i2pd-devel
new file mode 120000
index 000000000000..6a68f8b39558
--- /dev/null
+++ b/srcpkgs/i2pd-devel
@@ -0,0 +1 @@
+i2pd
\ No newline at end of file
diff --git a/srcpkgs/i2pd/template b/srcpkgs/i2pd/template
index 91e085f41aca..4bc4d9cbfa41 100644
--- a/srcpkgs/i2pd/template
+++ b/srcpkgs/i2pd/template
@@ -27,6 +27,13 @@ case "${XBPS_TARGET_MACHINE}" in
 esac
 
 do_install() {
+	# Static library and headers for the -devel package
+	vinstall libi2pd.a 644 usr/lib
+	for f in libi2pd/*.h ; do
+		vinstall $f 644 usr/include
+	done
+
+	# Configuration for the main package
 	vbin i2pd
 	vman debian/i2pd.1
 	vinstall contrib/i2pd.conf 644 etc/i2pd
@@ -37,5 +44,15 @@ do_install() {
 	vmkdir usr/share/i2pd
 	vcopy contrib/certificates usr/share/i2pd
 	vmkdir var/lib/i2pd
-	ln -s /usr/share/i2pd/certificates ${DESTDIR}/var/lib/i2pd/certificates
+	ln -sf /usr/share/i2pd/certificates ${DESTDIR}/var/lib/i2pd/certificates
+}
+
+
+i2pd-devel_package() {
+	depends="i2pd>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove "usr/lib/*.a"
+		vmove "usr/include/*.h"
+	}
 }

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-04-12 23:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-22  2:35 [PR PATCH] New package: i2pd-devel-2.46.0 kevcrumb
2023-03-22  4:15 ` [PR REVIEW] " classabbyamp
2023-03-22  4:15 ` classabbyamp
2023-03-22  7:25 ` paper42
2023-03-22  8:55 ` [PR REVIEW] " classabbyamp
2023-03-22 16:21 ` [PR PATCH] [Updated] " kevcrumb
2023-03-22 19:50 ` [PR REVIEW] i2pd: add -devel subpackage classabbyamp
2023-03-23 14:20 ` [PR PATCH] [Updated] " kevcrumb
2023-03-23 14:23 ` kevcrumb
2023-04-12 21:16 ` kevcrumb
2023-04-12 23:45 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).