smlinux/base/dialog/dialog.SMBuild

35 lines
721 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=dialog
version=1.3
build=2sml
homepage="https://invisible-island.net/archives/dialog/"
desc="display dialog boxes from shell scripts"
requires="netbsd-curses"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version-20170509.tar.?z
cd "$app-$version-20170509"
fixbuilddirpermissions
}
build() {
./configure \
--prefix="" \
--bindir=/bin \
--with-shared \
--with-x
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
0cfdef91212009306101a91745183639a103d5b07d33d47601197fd95431ed9187eb38b0cd75537a91d98d35c9be0c92655e33ec4670d496bf9f6cc17701ee87 dialog-1.3-20170509.tar.lz
"