-> base/gdb,gdbm,glib,iso-codes,libgpg-error, -> libidn2,libqalculate,popt,procps-ng,sudo,sysstat,texinfo,xz Made fixes to a bunch of base build files to put stuff in /usr
34 lines
734 B
Text
Executable file
34 lines
734 B
Text
Executable file
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=patch
|
|
version=2.7.5
|
|
build=1sml
|
|
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=/usr \
|
|
--bindir=/bin
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
8fb24cf406a8a97343c2ea438544db865c48356b31965479a95014bafcee38e57c2c5112336562dd220fc753b3d98e2052c4bbb3b08af5b12764f65acc3ffd00 patch-2.7.5.tar.lz
|
|
"
|