summaryrefslogtreecommitdiff
path: root/manualPorts/journalctl/Pkgfile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-10 22:04:05 +0100
committerErich Eckner <git@eckner.net>2018-11-10 22:04:05 +0100
commit1151f75b75124f56f1a5164a76058de4106c56c3 (patch)
tree6e1ba8cff041a1456a3ea4999b8e8c2e414c4caf /manualPorts/journalctl/Pkgfile
parent62d858a74608947a143d5be0beb4789a688a1b4c (diff)
downloadcrux-ports-1151f75b75124f56f1a5164a76058de4106c56c3.tar.xz
journalctl new
Diffstat (limited to 'manualPorts/journalctl/Pkgfile')
-rw-r--r--manualPorts/journalctl/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/manualPorts/journalctl/Pkgfile b/manualPorts/journalctl/Pkgfile
new file mode 100644
index 0000000..f0f01ef
--- /dev/null
+++ b/manualPorts/journalctl/Pkgfile
@@ -0,0 +1,23 @@
+# Description: journalctl from systemd
+# URL: https://github.com/systemd/systemd
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Depends on: meson
+
+name=journalctl
+version=239
+release=1
+source=("https://github.com/systemd/systemd-stable/archive/v$version.tar.gz")
+
+build() {
+
+ find systemd-stable-${version} \
+ -type f \
+ -exec sed -i "s/'debug'/'debugg'/g" {} \;
+ meson systemd-stable-${version} build
+ ninja -C build
+ ldd build/journalctl
+ install -Dm755 build/journalctl "$PKG/bin/journalctl"
+ install -Dm644 build/man/journalctl.1 "$PKG/usr/man/man1/journalctl.1"
+ install -Dm755 build/src/shared/libsystemd-shared-$version.so "$PKG/lib/libsystemd-shared-$version.so"
+
+}