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 869f87599d
commit 03ba55f731
2 changed files with 7 additions and 6 deletions

View File

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

View File

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