smlinux/base/ed/ed.SMBuild

33 lines
687 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=ed
version=1.14.2
build=1sml
homepage="https://www.gnu.org/software/ed"
download="https://ftp.gnu.org/gnu/ed/ed-$version.tar.lz"
desc="Old-school POSIX-compliant text editor"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr
make CFLAGS="$CFLAGS"
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
653bcb89788b2d18c726336fb6f17678ac031fe6ea03a93ff248886a075c867ba5423d5471401e44cbdcce3b4cb766b621ca7b70d76881f5044ec3412767b11f ed-1.14.2.tar.lz
"