wok diff le/receipt @ rev 22294

updated xorg-xload (1.1.1 -> 1.1.3)
author Hans-G?nter Theisgen
date Wed Nov 13 16:30:29 2019 +0100 (2019-11-13)
parents 17e313b5b9c1
children f68a9e7fb667
line diff
     1.1 --- a/le/receipt	Tue Feb 17 09:42:47 2015 +0100
     1.2 +++ b/le/receipt	Wed Nov 13 16:30:29 2019 +0100
     1.3 @@ -1,30 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="le"
     1.7 -VERSION="1.14.2"
     1.8 +VERSION="1.16.5"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Small editor using ncurses"
    1.11 +TAGS="text-editor"
    1.12 +SHORT_DESC="Small editor using ncurses."
    1.13  MAINTAINER="mimas@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="ftp://ftp.yar.ru/pub/source/le/"
    1.17 -WGET_URL="ftp://ftp.yar.ru/pub/source/le/$TARBALL"
    1.18 -TAGS="text-editor"
    1.19 +WEB_SITE="https://github.com/lavv17/le"
    1.20  
    1.21 -DEPENDS="ncurses gcc-lib-base"
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.23 +WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
    1.24 +
    1.25 +DEPENDS="gcc-lib-base ncurses"
    1.26  BUILD_DEPENDS="ncurses-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
    1.32 -	patch -p 0 < $stuff/gcc-4.patch || return 1
    1.33 -	./configure \
    1.34 -		--prefix=/usr \
    1.35 -		--infodir=/usr/share/info \
    1.36 -		--mandir=/usr/share/man \
    1.37 +
    1.38 +# 1.16.5 no longer required
    1.39 +#	patch -p 0 < $stuff/gcc-4.patch || return 1
    1.40 +
    1.41 +	./configure				\
    1.42 +		--prefix=/usr			\
    1.43 +		--infodir=/usr/share/info	\
    1.44 +		--mandir=/usr/share/man		\
    1.45  		$CONFIGURE_ARGS &&
    1.46 -	make &&
    1.47 +	make -j 1 &&
    1.48  	make DESTDIR=$DESTDIR install
    1.49  }
    1.50  
    1.51 @@ -32,7 +36,7 @@
    1.52  genpkg_rules()
    1.53  {
    1.54  	mkdir -p $fs/usr/share
    1.55 -	cp -a $install/usr/bin $fs/usr
    1.56 -	cp -a $install/usr/share/le $fs/usr/share
    1.57 +
    1.58 +	cp -a $install/usr/bin		$fs/usr
    1.59 +	cp -a $install/usr/share/le	$fs/usr/share
    1.60  }
    1.61 -