smlinux/base/sed/sed.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

35 lines
697 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=sed
version=4.2.2
build=1sml
homepage="https://www.gnu.org/software/sed/"
download="https://ftp.gnu.org/gnu/sed/sed-$version.tar.bz2"
desc="GNU stream editor"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
LDFLAGS="-static" \
./configure \
--prefix=/usr \
--bindir=/bin
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
ac24e705bbe630c012c3fa6b57869a6cb288dcc545f320da657b01417ad82226e21ce7b15ad919fc11c4b0fb13f124f2f6a7eb8a4cef045bda85e1fd141d4413 sed-4.2.2.tar.lz
"