wok annotate enki/receipt @ rev 13013

Add enki
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 08 21:01:19 2012 +0200 (2012-06-08)
parents
children 223b265f40fd
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"
pankso@13013 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@13013 9 WEB_SITE="http://home.gna.org/enki/"
pankso@13013 10 WGET_URL="svn|svn://svn.gna.org/svn/enki/trunk"
pankso@13013 11
pankso@13013 12 DEPENDS=""
pankso@13013 13 BUILD_DEPENDS="subversion cmake"
pankso@13013 14
pankso@13013 15 # Rules to configure and make the package.
pankso@13013 16 compile_rules()
pankso@13013 17 {
pankso@13013 18 cd $src
pankso@13013 19 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
pankso@13013 20 make && make install
pankso@13013 21 }
pankso@13013 22
pankso@13013 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13013 24 genpkg_rules()
pankso@13013 25 {
pankso@13013 26 mkdir -p $fs/usr
pankso@13013 27 cp -a $install/usr/* $fs/usr
pankso@13013 28 }