34 lines
676 B
Text
Executable file
34 lines
676 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=""
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING* $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
ac24e705bbe630c012c3fa6b57869a6cb288dcc545f320da657b01417ad82226e21ce7b15ad919fc11c4b0fb13f124f2f6a7eb8a4cef045bda85e1fd141d4413 sed-4.2.2.tar.lz
|
|
"
|