wok annotate enki/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (9 days ago) |
parents | 544e47246b33 |
children |
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" |
pascal@20673 | 10 WEB_SITE="https://web.archive.org/web/20170312092223/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 |
pascal@24540 | 16 # What is the latest version available today? |
pascal@24540 | 17 current_version() |
pascal@24540 | 18 { |
pascal@24540 | 19 wget -O - https://github.com/andreikop/enki/releases 2>/dev/null | \ |
pascal@25599 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24540 | 21 } |
pascal@24540 | 22 |
pankso@13013 | 23 # Rules to configure and make the package. |
pankso@13013 | 24 compile_rules() |
pankso@13013 | 25 { |
pankso@13013 | 26 cd $src |
pankso@13013 | 27 cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
pankso@13013 | 28 make && make install |
pankso@13013 | 29 } |
pankso@13013 | 30 |
pankso@13013 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13013 | 32 genpkg_rules() |
pankso@13013 | 33 { |
pankso@13013 | 34 mkdir -p $fs/usr |
pankso@13013 | 35 cp -a $install/usr/* $fs/usr |
pankso@13013 | 36 } |