wok view enki/receipt @ rev 25734

updated sc-im (-> 0.8.4)
author Hans-G?nter Theisgen
date Thu Aug 22 14:48:42 2024 +0100 (4 months ago)
parents 544e47246b33
children
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }