# $Id$ PNAME="dialog" PVER="1.3_20170509" PBUILD="r2" PCAT="dev-util" DESCRIPTION="Dialog is a utility to create user interfaces for shell scripts." HOMEPAGE="ftp://invisible-island.net/dialog/" DEPEND=">= app-shells/bash-4.2 >= sys-libs/ncurses-6.0" SDEPEND=">= sys-libs/ncurses-dev-6.0" SRCFILE="${PNAME}-${PVER/_/-}.tgz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}" ALX_PKG_KEEP="usr/bin/dialog usr/$(mlibdir)/*.so.*" sminclude mbuild alx-split msetfeature "!check" SRC_URI=( ftp://invisible-island.net/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd ${HOMEPAGE} | grep .tgz | sed -n 's/.*-\(.*-.*\).tgz.*/\1/;s/-/_/g;$ p'" src_compile() { cd ${SRCDIR} mconfigure --with-ncurses --disable-nls --with-libtool || die mmake || die }