commit cb0457f
hovercats
·
2024-05-14 09:41:35 +0000 UTC
parent 8156e4b
wmutils: clean up
4 files changed,
+8,
-13
+8,
-3
1@@ -1,6 +1,5 @@
2 #!/bin/sh -e
3
4-export LDFLAGS="$LDFLAGS -static"
5
6 # remove atomx and slw, as theyre giving me linking issues.
7 sed '/atomx.c/d' Makefile > _
8@@ -10,8 +9,14 @@ mv -f _ Makefile
9 sed 's/wmp.c.*/wmp.c/' Makefile > _
10 mv -f _ Makefile
11
12-make
13-make MANPREFIX=/usr/share DESTDIR="$1" install
14+make \
15+ CFLAGS="$CFLAGS -I/usr/include" \
16+ LDFLAGS="$LDFLAGS -static -L/usr/lib -lxcb -lxcb-shm -lxcb-util -lxcb-image -lxcb-render-util -lxcb-render -lxcb-cursor -lXau"
17+make \
18+ MANPREFIX=/usr/share/man \
19+ PREFIX=/usr \
20+ DESTDIR="$1" \
21+ install
22
23 # Compress manpages
24 find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-1
1@@ -1,2 +1 @@
2 710721fecf9f0f21d53e04e7eca5143a3c9831d971308a412487860a97f543b7da
3-92d68f346257f29b45cdd662327c50b310e50556af973feda0af715a9fcf494806
+0,
-8
1@@ -1,8 +0,0 @@
2-PREFIX = /usr
3-MANPREFIX = $(PREFIX)/man
4-
5-CC = cc
6-LD = $(CC)
7-
8-CFLAGS = -std=c99 -pedantic -Wall -Os -I/usr/include
9-LDFLAGS = -static -L/usr/lib -lxcb -lxcb-shm -lxcb-util -lxcb-image -lxcb-render-util -lxcb-render -lxcb-cursor -lXau
+0,
-1
1@@ -1,2 +1 @@
2 https://github.com/wmutils/core/archive/refs/tags/v1.7.tar.gz
3-files/config.mk