commit 5f4f50d5168e971eb7426ef20d6dd4bcfadfb41d
parent 4580a4a40b66f4a11f6877f9d6ec9cfab5110f9e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 21 Jul 2014 20:39:00 +0000
add indent
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
5 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/indent/checksums b/indent/checksums
@@ -0,0 +1 @@
+a90faf1bf855ecc1e0b0f47f4133e4a46be8b2c42bd0aa7f6cf6d764b7883b34b558e3ca443b193b1a747f64cd2653640f1aecbc8a17265c66260f6d6d621e19 indent-2.2.10.tar.gz
diff --git a/indent/indent.mk b/indent/indent.mk
@@ -0,0 +1,18 @@
+TARG = indent
+
+<$mkbuild/mk.common-noinst
+
+indent:QV:
+ export CFLAGS="$CFLAGS $DEPS_CFLAGS"
+ export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
+ CC="$CC" ./configure \
+ --build="${TOOLCHAIN_TRIPLET}" \
+ --host="${HOST_TOOLCHAIN_TRIPLET}" \
+ --prefix="$PREFIX" \
+ --mandir="$ROOT/share/man" \
+ --disable-shared \
+ --enable-static
+ make -j$nprocs
+
+install:QV:
+ make -j$nprocs install DESTDIR="$ROOT"
diff --git a/indent/mkfile b/indent/mkfile
@@ -0,0 +1,6 @@
+<$mkbuild/mk.3rdparty
+
+<v.mk
+src = indent-$v
+url = http://ftp.snt.utwente.nl/pub/software/gnu/indent/indent-$v.tar.gz
+mkfile = ../indent.mk
diff --git a/indent/v.mk b/indent/v.mk
@@ -0,0 +1 @@
+v = 2.2.10
diff --git a/unifdef/unifdef.mk b/unifdef/unifdef.mk
@@ -8,7 +8,6 @@ NPROC = $nprocs
<../v.mk
LOCAL_CFLAGS =
-#-DVERSION=\"$v\"
LOCAL_LDFLAGS =
unifdef_LDFLAGS =
LOCAL_BIN_LDFLAGS =