wok annotate enki/receipt @ rev 24793

updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author Hans-G?nter Theisgen
date Mon Mar 21 15:45:38 2022 +0100 (2022-03-21)
parents e3f377fbc5f0
children 20ad21d5532c
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@24540 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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 }