diff --git a/patches/diffutils/jinx-working-patch.patch b/patches/diffutils/jinx-working-patch.patch new file mode 100644 index 00000000..21dca33d --- /dev/null +++ b/patches/diffutils/jinx-working-patch.patch @@ -0,0 +1,13 @@ +diff --git diffutils-clean/Makefile.am diffutils-workdir/Makefile.am +index c47bc83..ca1ec3c 100644 +--- diffutils-clean/Makefile.am ++++ diffutils-workdir/Makefile.am +@@ -19,7 +19,7 @@ + ALL_RECURSIVE_TARGETS = + + EXTRA_DIST = bootstrap exgettext ChangeLog-2008 cfg.mk dist-check.mk +-SUBDIRS = lib src tests doc man po gnulib-tests ++SUBDIRS = lib src tests doc po gnulib-tests + + ACLOCAL_AMFLAGS = -I m4 + AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) diff --git a/recipes/diffutils b/recipes/diffutils new file mode 100644 index 00000000..f718aa15 --- /dev/null +++ b/recipes/diffutils @@ -0,0 +1,16 @@ +name=diffutils +revision=1 +from_source=diffutils +imagedeps="base-devel" +hostdeps="xgcc xbinutils" +deps="mlibc" + +build() { + cp -rp ${source_dir}/* . + ./configure --host=x86_64-astral --prefix=${prefix} --disable-docs + make -j ${parallelism} +} + +package() { + make install DESTDIR=${dest_dir} +} diff --git a/source-recipes/diffutils b/source-recipes/diffutils new file mode 100644 index 00000000..85d3e0cb --- /dev/null +++ b/source-recipes/diffutils @@ -0,0 +1,9 @@ +name=diffutils +version=3.9 +source_method=tarball +tarball_url="https://ftp.gnu.org/gnu/diffutils/diffutils-${version}.tar.xz" +tarball_sha512="d43280cb1cb2615a8867d971467eb9a3fa037fe9a411028068036f733dab42b10d42767093cea4de71e62b2659a3ec73bd7d1a8f251befd49587e32802682d0f" +hostdeps="autoconf automake pkgconfig libtool" +regenerate() { + autoreconf -fvi +}