* [PR PATCH] picosat: split libpicosat, enable trace
@ 2021-07-03 18:49 Chocimier
2021-07-03 21:32 ` [PR PATCH] [Merged]: " leahneukirchen
0 siblings, 1 reply; 2+ messages in thread
From: Chocimier @ 2021-07-03 18:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
There is a new pull request by Chocimier against master on the void-packages repository
https://github.com/Chocimier/void-packages-org picosat
https://github.com/void-linux/void-packages/pull/31789
picosat: split libpicosat, enable trace
for usage in repodb
A patch file from https://github.com/void-linux/void-packages/pull/31789.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-picosat-31789.patch --]
[-- Type: text/x-diff, Size: 1698 bytes --]
From f82156850f0771dadd2eace7a2d37bfdf2884585 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Mon, 3 May 2021 16:53:20 +0200
Subject: [PATCH] picosat: split libpicosat, enable trace
---
srcpkgs/libpicosat | 1 +
srcpkgs/picosat/template | 14 +++++++++++---
2 files changed, 12 insertions(+), 3 deletions(-)
create mode 120000 srcpkgs/libpicosat
diff --git a/srcpkgs/libpicosat b/srcpkgs/libpicosat
new file mode 120000
index 000000000000..c9996e4e2614
--- /dev/null
+++ b/srcpkgs/libpicosat
@@ -0,0 +1 @@
+picosat
\ No newline at end of file
diff --git a/srcpkgs/picosat/template b/srcpkgs/picosat/template
index 27560566272b..3a14c7ef1067 100644
--- a/srcpkgs/picosat/template
+++ b/srcpkgs/picosat/template
@@ -1,7 +1,7 @@
# Template file for 'picosat'
pkgname=picosat
version=965
-revision=1
+revision=2
build_style=configure
configure_script="./configure.sh"
configure_args="--shared --static"
@@ -13,6 +13,8 @@ changelog="http://fmv.jku.at/picosat/NEWS"
distfiles="http://fmv.jku.at/picosat/picosat-${version}.tar.gz"
checksum=15169b4f28ba8f628f353f6f75a100845cdef4a2244f101a02b6e5a26e46a754
+CFLAGS=-DTRACE
+
post_extract() {
# fix parallel builds
vsed -i -e 's/-l\(picosat\)/-l:lib\1.a/g' makefile.in
@@ -31,12 +33,18 @@ do_install() {
vlicense LICENSE
}
+libpicosat_package() {
+ short_desc+=" - runtime library"
+ pkg_install() {
+ vmove "usr/lib/*.so"
+ }
+}
+
picosat-devel_package() {
short_desc+=" - development files"
- depends="${sourcepkg}>=${version}_${revision}"
+ depends="libpicosat>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
- vmove "usr/lib/*.so"
}
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: picosat: split libpicosat, enable trace
2021-07-03 18:49 [PR PATCH] picosat: split libpicosat, enable trace Chocimier
@ 2021-07-03 21:32 ` leahneukirchen
0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2021-07-03 21:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
There's a merged pull request on the void-packages repository
picosat: split libpicosat, enable trace
https://github.com/void-linux/void-packages/pull/31789
Description:
for usage in repodb
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-03 21:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-03 18:49 [PR PATCH] picosat: split libpicosat, enable trace Chocimier
2021-07-03 21:32 ` [PR PATCH] [Merged]: " leahneukirchen
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).