From 1084afc3c4d9c83e61620de60ba59a4393a33cb0 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 20 Apr 2022 22:40:49 +0000 Subject: fixed create to work within env --- repo/util/diffutils.xibuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'repo/util/diffutils.xibuild') diff --git a/repo/util/diffutils.xibuild b/repo/util/diffutils.xibuild index 0087a0d..2a3d0cd 100644 --- a/repo/util/diffutils.xibuild +++ b/repo/util/diffutils.xibuild @@ -1,17 +1,19 @@ #!/bin/sh -MAKEDEPS="make" +MAKEDEPS="make sort" DEPS="musl sh" -PKG_VER=3.8 -SOURCE=https://ftp.gnu.org/gnu/diffutils/diffutils-$PKG_VER.tar.xz +PKG_VER=0.8.6 +SOURCE=http://landley.net/toybox/downloads/toybox-$PKG_VER.tar.gz DESC="Utility programs for creating patch files" build () { - ./configure --prefix=/usr - make + make defconfig + make diff + make cmp } package () { - make DESTDIR=$PKG_DEST install + install -Dm755 diff $PKG_DEST/usr/bin/ + install -Dm755 cmp $PKG_DEST/usr/bin/ } -- cgit v1.2.1