wok view doxygen/receipt @ rev 24497

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 19 14:19:02 2022 +0000 (2022-02-19)
parents b537f0bd32fb
children f1a6bc62bdf4
line source
1 # SliTaz package receipt.
3 PACKAGE="doxygen"
4 VERSION="1.8.17"
5 CATEGORY="development"
6 TAGS="language documentation"
7 SHORT_DESC="Source code documentation generator tool."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.doxygen.nl/"
12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
13 WGET_URL="${WEB_SITE}files/$TARBALL"
15 DEPENDS="gcc83-lib-base"
16 BUILD_DEPENDS="bison cmake flex gcc83 python"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/doxygen/doxygen/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/Release_\(.*\).tar.*|\1|;s|_|.|g;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export CC=gcc-83
29 export CXX=g++-83
31 mkdir build
32 cd build
33 cmake -G "Unix Makefiles" .. &&
34 make -j 1 &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin
42 cp -a $install/usr/local/bin/* $fs/usr/bin
43 }