wok-next diff enki/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 a3c581bf52b8
children
line diff
     1.1 --- a/enki/receipt	Fri Aug 10 12:53:17 2018 +0300
     1.2 +++ b/enki/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -4,27 +4,24 @@
     1.4  VERSION="2.0"
     1.5  CATEGORY="development"
     1.6  SHORT_DESC="The fast 2D robot simulator"
     1.7 -MAINTAINER="pankso@slitaz.org"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11  WEB_SITE="https://web.archive.org/web/20170312092223/http://home.gna.org/enki/"
    1.12  # https://github.com/enki-community/enki
    1.13  WGET_URL="svn|svn://svn.gna.org/svn/enki/trunk" # FIXME
    1.14  
    1.15 -DEPENDS=""
    1.16  BUILD_DEPENDS="subversion cmake"
    1.17  
    1.18 -# Rules to configure and make the package.
    1.19 -compile_rules()
    1.20 -{
    1.21 -	cd $src
    1.22 -	cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
    1.23 -	make && make install
    1.24 +compile_rules() {
    1.25 +	cmake \
    1.26 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.27 +		. &&
    1.28 +	make &&
    1.29 +	make install
    1.30  }
    1.31  
    1.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 -genpkg_rules()
    1.34 -{
    1.35 +genpkg_rules() {
    1.36  	mkdir -p $fs/usr
    1.37  	cp -a $install/usr/* $fs/usr
    1.38  }