
Receipt for package "patch"
# SliTaz package receipt. PACKAGE="patch" VERSION="2.7.6" CATEGORY="utilities" SHORT_DESC="Utility to patch file with diff file." MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" WEB_SITE="https://www.gnu.org/software/patch/patch.html" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" HOST_ARCH="i486 arm x86_64" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $install/usr/bin/patch $fs/usr/bin } # Prevent erasing busybox... pre_install() { rm -f "$1/usr/bin/patch" } post_remove() { ln -s /bin/busybox "$1/usr/bin/patch" }
6094 packages and 260717 files in current database (Mon May 12 00:01:45 2025)