wok-6.x annotate enki/receipt @ rev 20042

Add snapper
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 29 20:35:56 2017 +0200 (2017-08-29)
parents d91b7f34ff8b
children e3f377fbc5f0
rev   line source
pankso@13013 1 # SliTaz package receipt.
pankso@13013 2
pankso@13013 3 PACKAGE="enki"
pankso@13013 4 VERSION="2.0"
pankso@13013 5 CATEGORY="development"
pankso@13013 6 SHORT_DESC="The fast 2D robot simulator"
pankso@13013 7 MAINTAINER="pankso@slitaz.org"
pascal@15202 8 LICENSE="GPL2"
pankso@13013 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@13013 10 WEB_SITE="http://home.gna.org/enki/"
pankso@13013 11 WGET_URL="svn|svn://svn.gna.org/svn/enki/trunk"
pankso@13013 12
pankso@13013 13 DEPENDS=""
pankso@13013 14 BUILD_DEPENDS="subversion cmake"
pankso@13013 15
pankso@13013 16 # Rules to configure and make the package.
pankso@13013 17 compile_rules()
pankso@13013 18 {
pankso@13013 19 cd $src
pankso@13013 20 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
pankso@13013 21 make && make install
pankso@13013 22 }
pankso@13013 23
pankso@13013 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13013 25 genpkg_rules()
pankso@13013 26 {
pankso@13013 27 mkdir -p $fs/usr
pankso@13013 28 cp -a $install/usr/* $fs/usr
pankso@13013 29 }