dot

packages and services management
Log | Files | Refs | README

commit 683184c71e9aaae55449adfd8768d8ecd1dc2bf6
parent fef7add2fe4b7baa9f3769dd5e7c11a313e408f0
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun, 22 Oct 2017 02:50:19 +0200

fixing stuff again

Diffstat:
Aabduco/config.mk | 19+++++++++++++++++++
Mdmenu/build | 2+-
Mdwm/config.mk | 7+++----
Mrc | 4++--
Arwc/build | 14++++++++++++++
Mst/config.mk | 4++--
6 files changed, 41 insertions(+), 9 deletions(-)

diff --git a/abduco/config.mk b/abduco/config.mk @@ -0,0 +1,19 @@ +# abduco version +VERSION = 0.6 + +# Customize below to fit your system + +PREFIX ?= /usr/local +MANPREFIX = ${PREFIX}/share/man + +INCS = -I. +LIBS = -lc -lutil + +CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE +CFLAGS += -std=c99 -pedantic -Wall ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG ${CPPFLAGS} +LDFLAGS += ${LIBS} + +DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb + +CC ?= cc +STRIP ?= strip diff --git a/dmenu/build b/dmenu/build @@ -1,6 +1,6 @@ cc stest.c -o stest cp stest "$PREFIX/bin/stest" -sed -i '/^FREETYPEINC = \$/ s/^/#/' config.mk +#sed -i '/^FREETYPEINC = \$/ s/^/#/' config.mk make PREFIX="$PREFIX" install clean diff --git a/dwm/config.mk b/dwm/config.mk @@ -7,8 +7,8 @@ VERSION = 6.1 PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man -X11INC = /usr/local/include -X11LIB = /usr/local/lib +X11INC = /usr/X11R6/include +X11LIB = /usr/X11R6/lib # Xinerama, comment if you don't want it XINERAMALIBS = -lXinerama @@ -16,9 +16,8 @@ XINERAMAFLAGS = -DXINERAMA # freetype FREETYPELIBS = -lfontconfig -lXft -FREETYPEINC = /usr/include/freetype2 # OpenBSD (uncomment) -#FREETYPEINC = ${X11INC}/freetype2 +FREETYPEINC = ${X11INC}/freetype2 # includes and libs INCS = -I${X11INC} -I${FREETYPEINC} diff --git a/rc b/rc @@ -3,8 +3,8 @@ export SYSROOT="$HOME/usr" export PATH="$SYSROOT/bin:$PATH" export MANPATH="$SYSROOT/man:$MANPATH" export C_INCLUDE_PATH="$SYSROOT/include" -export LIBRARY_PATH="$SYSROOT/lib" -export LD_LIBRARY_PATH="$SYSROOT/lib" +export LIBRARY_PATH="$SYSROOT/lib:/usr/local/lib/inotify" +export LD_LIBRARY_PATH="$SYSROOT/lib:/usr/local/lib/inotify" export XDG_DATA_DIRS="$SYSROOT/share" export XDG_DATA_HOME="$SYSROOT/share" diff --git a/rwc/build b/rwc/build @@ -0,0 +1,14 @@ +set -x +set -e + +cc \ + -I/usr/local/include/inotify \ + rwc.c \ + -L/usr/local/lib/inotify \ + -linotify \ + -static \ + -o rwc + +mkdir -p "$PREFIX/bin" + +cp rwc "$PREFIX/bin/rwc" diff --git a/st/config.mk b/st/config.mk @@ -7,8 +7,8 @@ VERSION = 0.7 PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man -X11INC = /usr/include -X11LIB = /usr/lib64 +X11INC = /usr/X11R6/include +X11LIB = /usr/X11R6/lib64 # freetype FREETYPEINC = /usr/include/freetype2