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)
2023-10-24 16:00:57 +00:00
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
2022-02-05 14:23:32 +00:00
PKG_NAME = "git"
2023-11-13 22:18:49 +00:00
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
p r e _ c o n f i g u r e _ t a r g e t ( ) {
cd ..
2023-01-02 00:28:36 +00:00
rm -rf .${ TARGET_NAME }
2022-02-05 14:23:32 +00:00
}
m a k e _ t a r g e t ( ) {
2023-01-02 00:28:36 +00:00
cd ${ PKG_BUILD }
2022-02-05 14:23:32 +00:00
make git
}