commit e39cc7fc4e44739768b4300927c313a829a10565 parent 2c09da1952751d5907b7502aa9f82034072263b8 Author: sin <sin@2f30.org> Date: Sat, 14 Jun 2014 16:28:28 +0100 Add quark Diffstat:
A | quark/config.mk | | | 11 | +++++++++++ |
A | quark/mkfile | | | 5 | +++++ |
A | quark/quark.mk | | | 10 | ++++++++++ |
3 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/quark/config.mk b/quark/config.mk @@ -0,0 +1,11 @@ +# quark version +VERSION = 0.1 + +# Customize below to fit your system + +# paths +MANPREFIX = ${PREFIX}/share/man + +# flags +CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE +CFLAGS += ${CPPFLAGS} diff --git a/quark/mkfile b/quark/mkfile @@ -0,0 +1,5 @@ +<$mkbuild/mk.3rdparty + +src = quark +git = git://git.suckless.org/quark +mkfile = ../quark.mk diff --git a/quark/quark.mk b/quark/quark.mk @@ -0,0 +1,10 @@ +TARG = quark + +<$mkbuild/mk.common-noinst + +quark:QV: + 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