smlinux/base/gzip/gzip.SMBuild
PktSurf 1a260f04ce Disabled native language support (nls) in:
-> 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
2024-10-18 10:50:11 +05:30

34 lines
688 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=gzip
version=1.12
build=1sml
homepage="https://www.gnu.org/software/gzip/"
download="https://ftp.gnu.org/gnu/gzip/gzip-$version.tar.gz"
desc="GNU file compression utility"
requires="less"
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="
9c3f061844413ee2d382608dd9019813f78edc72bd75ab53f58c757d60859f9139b3850ccf1ed191a739f80836e9a6bfe734ec59ddba991a3ff3b322ec7e356d gzip-1.12.tar.lz
"