distribution/packages/tools/git/package.mk

32 lines
1.1 KiB
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
2022-02-05 14:23:32 +00:00
PKG_NAME="git"
PKG_VERSION="2.42.1"
2022-02-05 14:23:32 +00:00
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
PKG_SITE="https://git-scm.com/"
2023-01-02 00:28:36 +00:00
PKG_URL="https://mirrors.edge.kernel.org/pub/software/scm/git/git-${PKG_VERSION}.tar.gz"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain openssl pcre curl libiconv zlib"
PKG_SECTION="emuelec"
PKG_SHORTDESC="Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. "
PKG_LONGDESC="Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. "
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_fread_reads_directories=yes \
2023-01-02 00:28:36 +00:00
ac_cv_snprintf_returns_bogus=yes \
ac_cv_iconv_omits_bom=yes"
2022-02-05 14:23:32 +00:00
pre_configure_target() {
cd ..
2023-01-02 00:28:36 +00:00
rm -rf .${TARGET_NAME}
2022-02-05 14:23:32 +00:00
}
make_target() {
2023-01-02 00:28:36 +00:00
cd ${PKG_BUILD}
2022-02-05 14:23:32 +00:00
make git
}