ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

commit 9709dd912e4b5cabc69cf9832486df86e0b1c200
parent 4bb9bdcdb391b87825545cc94239a962f7a74f11
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 28 Apr 2014 16:35:14 +0000

add dmenu

compiles, but untested

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Admenu/config.mk | 25+++++++++++++++++++++++++
Admenu/dmenu.mk | 14++++++++++++++
Admenu/mkfile | 5+++++
3 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/dmenu/config.mk b/dmenu/config.mk @@ -0,0 +1,25 @@ +# dmenu version +VERSION = 4.5-tip + +# paths +#PREFIX = /usr/local +MANPREFIX = ${PREFIX}/share/man + +#X11INC = /usr/X11R6/include +#X11LIB = /usr/X11R6/lib + +# Xinerama, comment if you don't want it +XINERAMALIBS = -lXinerama +XINERAMAFLAGS = -DXINERAMA + +# includes and libs +#INCS = -I${X11INC} +LIBS = -lX11 ${XINERAMALIBS} + +# flags +CPPFLAGS += -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +CFLAGS += ${CPPFLAGS} +LDFLAGS += ${LIBS} + +# compiler and linker +#CC = cc diff --git a/dmenu/dmenu.mk b/dmenu/dmenu.mk @@ -0,0 +1,14 @@ +TARG = dmenu +DEPS = tinyxlib + +<$mkbuild/mk.common-noinst + +dmenu:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + # overwrite default config.mk to allow overriding some variables. + cp ../config.mk config.mk + CC="${CC} -static" make -j$nprocs PREFIX="$prefix" DESTDIR="$ROOT" + +install:QV: + make -j$nprocs PREFIX="$prefix" DESTDIR="$ROOT" install diff --git a/dmenu/mkfile b/dmenu/mkfile @@ -0,0 +1,5 @@ +<$mkbuild/mk.3rdparty + +src = dmenu +git = git://git.suckless.org/dmenu +mkfile = ../dmenu.mk