wok-next diff lha/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 6c3718ca17b6
children
line diff
     1.1 --- a/lha/receipt	Sat Nov 09 17:34:23 2013 +0000
     1.2 +++ b/lha/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,29 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="lha"
     1.8  VERSION="1.14i-ac20050924p1"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="File archiver."
    1.11 +SHORT_DESC="File archiver"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="CC-SA"
    1.14 +WEB_SITE="http://lha.osdn.jp/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://$PACKAGE.sourceforge.jp/"
    1.18  WGET_URL="http://osdn.dl.sourceforge.jp/$PACKAGE/22231/$TARBALL"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 -	cd $src
    1.24 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.25 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.26 +compile_rules() {
    1.27 +	./configure \
    1.28 +		--prefix=/usr \
    1.29 +		--infodir=/usr/share/info \
    1.30 +		--mandir=/usr/share/man \
    1.31 +		$CONFIGURE_ARGS &&
    1.32  	make &&
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 +	make DESTDIR=$install install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	mkdir -p $fs/usr
    1.41 -	cp -a $install/usr/bin $fs/usr
    1.42 +genpkg_rules() {
    1.43 +	copy @std
    1.44  }
    1.45 -