recipes

packages recipes for the <noname> package manager
Log | Files | Refs

commit b4b074df95f02ac8bc60fd164872795a312e36f1
parent 78aba0734b3d6afda024975b0adb996fabbe1143
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 19 Jan 2019 20:24:28 +0100

fix recipes

Diffstat:
Mdwm/default/data/config.mk | 7-------
Dlibpng/1.6.36/dependencies | 1-
Mlibpng/default/build | 13+++++++++----
3 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/dwm/default/data/config.mk b/dwm/default/data/config.mk @@ -1,8 +1,4 @@ -# dwm version VERSION = 6.1 - -# paths -PREFIX = ${PREFIX} MANPREFIX = ${PREFIX}/share/man INCS = \ @@ -26,10 +22,7 @@ LIBS = \ -L$(libz)/lib -lz \ -lm -# flags CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} LDFLAGS = -s ${LIBS} -static - -# compiler and linker CC = cc diff --git a/libpng/1.6.36/dependencies b/libpng/1.6.36/dependencies @@ -1 +0,0 @@ -liblzma diff --git a/libpng/default/build b/libpng/default/build @@ -1,7 +1,12 @@ #!/bin/sh -ex -#export CPPFLAGS="-I${libz}/include" -#export LDFLAGS="${libz}/lib/libz.a" +C="-I${libz}/include" +L="-L${libz}/lib" -./configure --prefix="$PREFIX" -gmake install + +./configure \ + --prefix="$PREFIX" \ + CPPFLAGS="${C}" \ + LDFLAGS="${L}" + +gmake install CPPFLAGS="${C}" LDFLAGS="${L}"