mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: git
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git git-clean/configure.ac git-workdir/configure.ac
|
||||||
|
index d1a96da..05aed44 100644
|
||||||
|
--- git-clean/configure.ac
|
||||||
|
+++ git-workdir/configure.ac
|
||||||
|
@@ -755,7 +755,7 @@ GIT_CONF_SUBST([LIBC_CONTAINS_LIBINTL])
|
||||||
|
# Define NO_GETTEXT if you don't want Git output to be translated.
|
||||||
|
# A translated Git requires GNU libintl or another gettext implementation
|
||||||
|
AC_CHECK_HEADER([libintl.h],
|
||||||
|
-[NO_GETTEXT=],
|
||||||
|
+[NO_GETTEXT=YesPlease],
|
||||||
|
[NO_GETTEXT=YesPlease])
|
||||||
|
GIT_CONF_SUBST([NO_GETTEXT])
|
||||||
|
|
||||||
+16
@@ -0,0 +1,16 @@
|
|||||||
|
name=git
|
||||||
|
revision=1
|
||||||
|
from_source=git
|
||||||
|
imagedeps="base-devel"
|
||||||
|
hostdeps="xgcc xbinutils"
|
||||||
|
deps="mlibc python zlib curl openssl openssh"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cp -rp ${source_dir}/* .
|
||||||
|
ac_cv_iconv_omits_bom=yes ac_cv_fread_reads_directories=no ac_cv_snprintf_returns_bogus=no ./configure --host=x86_64-astral --prefix=${prefix} --with-gitconfig=/etc/gitconfig --with-python=python3
|
||||||
|
make -j ${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=git
|
||||||
|
version=2.45.2
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz"
|
||||||
|
tarball_sha512="dce30d0d563f3f76ef49c8dc88105e0cf0941c8cd70303418d9d737f840ffba36bcc575c380c75080edf64af74487e1a680db146ec5f527a32104e887d4ceb73"
|
||||||
|
hostdeps="autoconf automake pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user