smlinux/base/patch/patch.SMBuild
PktSurf 32eaa8d266 Moved bootstrap function call into prepbuilddir and disabled static lib generation in base/brotli
Fixed man page path in base/chrpath
Removed unnecessary -a while cp'ing COPYING file in base/cpio
Added code to copy LICENSEs in base/{dmraid,libyaml,ndctl}
Only cp COPYING file in base/{libgit2,nasm,sbc,slapt-get}
Fix prefix in base/libvpx
Fix desc variable value in base/ncdu
base/patch does not need to be statically-linked
Disabled installation of example files in base/qpdf
Discarded --disable-tcl build option in base/sqlite
Applied CVE patch 2022-48303 for base/tar
2023-03-30 12:18:48 +05:30

32 lines
670 B
Text
Executable file

app=patch
version=2.7.5
build=2sml
homepage="https://www.gnu.org/software/patch/"
download="https://ftp.gnu.org/gnu/patch/patch-$version.tar.xz"
desc="Utility to apply a diff or patches file to an original file or files"
requires="attr"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=""
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
8fb24cf406a8a97343c2ea438544db865c48356b31965479a95014bafcee38e57c2c5112336562dd220fc753b3d98e2052c4bbb3b08af5b12764f65acc3ffd00 patch-2.7.5.tar.lz
"