wok-next diff ftjam/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 3b4e4318134e
children f56bd5e4256c
line diff
     1.1 --- a/ftjam/receipt	Tue Dec 03 18:28:51 2013 +0000
     1.2 +++ b/ftjam/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,31 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ftjam"
     1.8  VERSION="2.5.3rc2"
     1.9  CATEGORY="development"
    1.10 -MAINTAINER="jozee@slitaz.org"
    1.11 +SHORT_DESC=="FT Jam - an enhanced version of the Jam build tool"
    1.12 +MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 -SHORT_DESC=="FT Jam - an enhanced version of the Jam build tool"
    1.15 -WEB_SITE="http://freetype.org/jam/"
    1.16 -PROVIDE="jam"
    1.17 +WEB_SITE="https://www.freetype.org/jam/"
    1.18 +
    1.19  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.20  WGET_URL="http://david.freetype.org/jam/$TARBALL"
    1.21  
    1.22 -DEPENDS="glibc-base"
    1.23  BUILD_DEPENDS="bison"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26  compile_rules() {
    1.27 -	cd $src
    1.28 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.29 +	./configure \
    1.30 +		--prefix=/usr \
    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 -	
    1.43 +
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="glibc-base"
    1.47 +	PROVIDE="jam"
    1.48  }