wok view enki/receipt @ rev 25065

grub4dos: binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 09 15:38:57 2022 +0000 (2022-06-09)
parents e3f377fbc5f0
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="enki"
4 VERSION="2.0"
5 CATEGORY="development"
6 SHORT_DESC="The fast 2D robot simulator"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://web.archive.org/web/20170312092223/http://home.gna.org/enki/"
11 WGET_URL="svn|svn://svn.gna.org/svn/enki/trunk"
13 DEPENDS=""
14 BUILD_DEPENDS="subversion cmake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/andreikop/enki/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/* $fs/usr
36 }