smlinux/base/sed/sed.SMBuild
2022-01-28 23:06:05 +05:30

31 lines
646 B
Text
Executable file

APP=sed
VERSION=4.2.2
BUILD=1sml
HOMEPAGE='https://www.gnu.org/software/sed/'
DOWNLOAD='https://ftp.gnu.org/gnu/sed/sed-4.2.2.tar.bz2'
DESC="GNU stream editor"
REQUIRES="musl"
build() {
mkandenterbuilddir
rm -rf $APP-$VERSION
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
cd $APP-$VERSION
fixbuilddirpermissions
LDFLAGS="-static" \
./configure \
--prefix=""
make
make install DESTDIR=$PKG
cp ABOUT-NLS AUTHORS BUGS COPYING* NEWS THANKS $PKGDOCS/
mkfinalpkg
}
SHA512SUMS="
ac24e705bbe630c012c3fa6b57869a6cb288dcc545f320da657b01417ad82226e21ce7b15ad919fc11c4b0fb13f124f2f6a7eb8a4cef045bda85e1fd141d4413 sed-4.2.2.tar.lz
"