mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: diffutils
This commit is contained in:
@@ -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)
|
||||
@@ -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}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user