less: depends on ncurses, run autoreconf, cleanup

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-04-20 23:30:25 +02:00
parent ff9995e982
commit c9af0900b4
2 changed files with 7 additions and 6 deletions

View File

@ -23,14 +23,15 @@
. config/options $1
cd $PKG_BUILD
# make sourcefiles writable and run autotools
find . -type f -exec chmod +w "{}" ";"
do_autoreconf
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--bindir=/usr/bin \
--enable-shared \
--disable-static \
--disable-nls \
--disable-rpath
make

View File

@ -24,8 +24,8 @@ PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_URL="http://www.greenwoodsoftware.com/less/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_DEPENDS="ncurses"
PKG_BUILD_DEPENDS="toolchain ncurses"
PKG_PRIORITY="optional"
PKG_SECTION="system"
PKG_SHORTDESC="less: free, open-source file pager"