diff --git a/sys-apps/less/less-451.recipe b/sys-apps/less/less-451.recipe index 030b4844f..d3d123289 100644 --- a/sys-apps/less/less-451.recipe +++ b/sys-apps/less/less-451.recipe @@ -1,23 +1,52 @@ -DESCRIPTION="Less is a free, open-source file pager." -HOMEPAGE="http://www.greenwoodsoftware.com/less/" -SRC_URI="http://www.greenwoodsoftware.com/less/less-451.tar.gz" +SUMMARY="Less is a free, open-source file pager." +DESCRIPTION="GNU less is a program similar to more, but which allows \ +backward movement in the file as well as forward movement. Also, less \ +does not have to read the entire input file before starting, so with \ +large input files it starts up faster than text editors like vi. Less uses \ +termcap (or terminfo on some systems), so it can run on a variety of \ +terminals. There is even limited support for hardcopy terminals. +" +HOMEPAGE="http://www.gnu.org/software/less/" +SRC_URI="http://ftp.gnu.org/gnu/less/less-451.tar.gz" CHECKSUM_MD5="765f082658002b2b46b86af4a0da1842" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" +LICENSE="GNU GPL v3" +COPYRIGHT="1984-2012 Mark Nudelman" +REVISION="2" +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + less = 451 + cmd:less + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libncurses$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + devel:libncurses$secondaryArchSuffix + " + +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:ld$secondaryArchSuffix + cmd:autoconf + cmd:aclocal + " + +PATCHES="less-451.patch" + BUILD() { - cd less-451 - autoreconf -fvi - ./configure --prefix=`finddir B_COMMON_DIRECTORY` --with-editor=nano \ - --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man + autoconf + runConfigure ./configure --with-editor=nano make } INSTALL() { - cd less-451 - make install DESTDIR="${DESTDIR}" + make install } -LICENSE="GNU GPL v3" -COPYRIGHT="1984-2012 Mark Nudelman"