| 1 |
# vim: ft=make ts=4 sw=4 noet |
| 2 |
.DEFAULT_GOAL := all |
| 3 |
NAME = git |
| 4 |
VERSION = 2.51.0 |
| 5 |
GARTYPE = v2 |
| 6 |
|
| 7 |
MASTER_SITES = https://mirrors.edge.kernel.org/pub/software/scm/git/ |
| 8 |
DISTFILES += $(DISTNAME).tar.gz |
| 9 |
LICENSE = COPYING |
| 10 |
|
| 11 |
BUILD_DEP_PKGS += OZSWcurl OZSWopenssl OZSWzlib OZSWperl OZSWlibiconv OZSWgettext |
| 12 |
RUNTIME_DEP_PKGS_OZSWgit += OZSWcurl OZSWopenssl OZSWzlib OZSWperl OZSWlibiconv |
| 13 |
PACKAGES += OZSWgit |
| 14 |
SPKG_DESC_OZSWgit = Git distributed version control system |
| 15 |
CATALOGNAME_OZSWgit = git |
| 16 |
|
| 17 |
EXTENSIONS = 1 |
| 18 |
|
| 19 |
EXTRA_CONFIGURE_ARGS += --with-curl=$(prefix) |
| 20 |
EXTRA_CONFIGURE_ARGS += --with-openssl=$(prefix) |
| 21 |
EXTRA_CONFIGURE_ARGS += --without-tcltk |
| 22 |
EXTRA_CONFIGURE_ARGS += --with-iconv=$(prefix) |
| 23 |
|
| 24 |
EXTRA_LD_FLAGS += -liconv -lintl -lm |
| 25 |
|
| 26 |
post-configure: |
| 27 |
@find $(WORKSRC) -name "libtool" -type f -exec \ |
| 28 |
gsed -i 's/ECHO="print -r --"/ECHO="printf %s\\n"/g' {} \; |
| 29 |
@$(MAKECOOKIE) |
| 30 |
|
| 31 |
include gar/category.mk |