wok view doxygen/receipt @ rev 25430
Up os-prober (1.81)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 19 06:26:39 2022 +0000 (2022-08-19) |
parents | eec3edc6ef52 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="doxygen"
4 VERSION="1.9.3"
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="https://github.com/doxygen/doxygen/"
12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
13 WGET_URL="${WEB_SITE}archive/Release_${VERSION//./_}.tar.gz"
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 .. \
34 -G "Unix Makefiles" &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/local/bin $fs/usr
44 }