commit e9132a249b3a66014dee8d7305c72e3fbdc9f417 parent 66501dd6d3fac4bc0a24e2ba183f645518f623ec Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 27 Apr 2014 17:20:54 +0000 add git Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> Diffstat:
A | git/git.mk | | | 26 | ++++++++++++++++++++++++++ |
A | git/mkfile | | | 6 | ++++++ |
A | git/v.mk | | | 1 | + |
3 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/git/git.mk b/git/git.mk @@ -0,0 +1,26 @@ +TARG = git +DEPS = curl openssl zlib + +<$mkbuild/mk.common-noinst + +git:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + make CURL_LIBCURL="${curl_libdir}/libcurl.a ${openssl_libdir}/libssl.a ${openssl_libdir}/libcrypto.a" \ + # NOTE: "$prefix/" is needed to set the proper mandir. + CC="$CC -static" \ + prefix="$prefix/" gitexecdir="$prefix"/lib/git-core \ + NO_TCLTK=1 NO_PYTHON=1 NO_EXPAT=1 NO_GETTEXT=1 \ + CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -static" \ + DESTDIR="$ROOT" -j$nprocs V=1 all + +install: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + make CURL_LIBCURL="${curl_libdir}/libcurl.a ${openssl_libdir}/libssl.a ${openssl_libdir}/libcrypto.a" \ + # NOTE: "$prefix/" is needed to set the proper mandir. + CC="$CC -static" \ + prefix="$prefix/" gitexecdir="$prefix"/lib/git-core \ + NO_TCLTK=1 NO_PYTHON=1 NO_EXPAT=1 NO_GETTEXT=1 \ + CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -static" \ + DESTDIR="$ROOT" -j$nprocs V=1 all install diff --git a/git/mkfile b/git/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = git-$v +url = https://github.com/git/git/archive/v$v.tar.gz +mkfile = ../git.mk diff --git a/git/v.mk b/git/v.mk @@ -0,0 +1 @@ +v = 1.9.2