wok-next diff ht/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a6f7b6b890c2
children 5669e8b3be70
line diff
     1.1 --- a/ht/receipt	Wed Jun 01 02:52:45 2016 +0300
     1.2 +++ b/ht/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,33 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ht"
     1.8  VERSION="2.1.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="File viewer/editor/analyser for text/binary/executable files."
    1.11 +SHORT_DESC="File viewer/editor/analyser for text/binary/executable files"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://hte.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://hte.sourceforge.net/"
    1.18  WGET_URL="$SF_MIRROR/hte/$TARBALL"
    1.19 -TAGS="viewer text-editor analysis"
    1.20  
    1.21 -DEPENDS="gcc-lib-base lzo ncurses xorg-libX11 xorg-libXau xorg-libXdmcp"
    1.22  BUILD_DEPENDS="lzo-dev ncurses-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 +compile_rules() {
    1.28  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
    1.29  	chmod +x install-sh
    1.30 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.31 +
    1.32 +	./configure \
    1.33 +		--prefix=/usr \
    1.34 +		--infodir=/usr/share/info \
    1.35  		--mandir=/usr/share/man \
    1.36 -	$CONFIGURE_ARGS &&
    1.37 +		$CONFIGURE_ARGS &&
    1.38  	make &&
    1.39 -	make DESTDIR=$DESTDIR install
    1.40 +	make DESTDIR=$install install
    1.41  }
    1.42  
    1.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 -genpkg_rules()
    1.45 -{
    1.46 +genpkg_rules() {
    1.47  	cp -a $install/usr $fs
    1.48 +	DEPENDS="lzo ncurses xorg-libX11 xorg-libXau xorg-libXdmcp"
    1.49 +	TAGS="viewer text-editor analysis"
    1.50  }