wok annotate doxygen/receipt @ rev 25672
Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 14:07:44 2024 +0000 (10 months ago) |
parents | eec3edc6ef52 |
children |
rev | line source |
---|---|
pascal@1508 | 1 # SliTaz package receipt. |
pascal@1508 | 2 |
pascal@1508 | 3 PACKAGE="doxygen" |
Hans-G?nter@24499 | 4 VERSION="1.9.3" |
pascal@1508 | 5 CATEGORY="development" |
Hans-G?nter@20851 | 6 TAGS="language documentation" |
pascal@1508 | 7 SHORT_DESC="Source code documentation generator tool." |
pascal@1508 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 9 LICENSE="GPL2" |
pascal@24893 | 10 WEB_SITE="https://github.com/doxygen/doxygen/" |
Hans-G?nter@20851 | 11 |
pascal@1508 | 12 TARBALL="$PACKAGE-$VERSION.src.tar.gz" |
pascal@25021 | 13 WGET_URL="${WEB_SITE}archive/Release_${VERSION//./_}.tar.gz" |
jozee@4934 | 14 |
Hans-G?nter@22739 | 15 DEPENDS="gcc83-lib-base" |
Hans-G?nter@22739 | 16 BUILD_DEPENDS="bison cmake flex gcc83 python" |
pascal@1508 | 17 |
pascal@24433 | 18 # What is the latest version available today? |
pascal@24433 | 19 current_version() |
pascal@24433 | 20 { |
pascal@24433 | 21 wget -O - https://github.com/doxygen/doxygen/tags 2>/dev/null | \ |
pascal@24433 | 22 sed '/archive.*tar/!d;s|.*/Release_\(.*\).tar.*|\1|;s|_|.|g;q' |
pascal@24433 | 23 } |
pascal@24433 | 24 |
pascal@1508 | 25 # Rules to configure and make the package. |
pascal@1508 | 26 compile_rules() |
pascal@1508 | 27 { |
Hans-G?nter@22739 | 28 export CC=gcc-83 |
Hans-G?nter@22739 | 29 export CXX=g++-83 |
Hans-G?nter@22739 | 30 |
Hans-G?nter@24499 | 31 mkdir _build && |
Hans-G?nter@24499 | 32 cd _build && |
Hans-G?nter@24499 | 33 cmake .. \ |
Hans-G?nter@24499 | 34 -G "Unix Makefiles" && |
Hans-G?nter@24499 | 35 make && |
Hans-G?nter@24499 | 36 make install DESTDIR=$DESTDIR |
pascal@1508 | 37 } |
pascal@1508 | 38 |
pascal@1508 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1508 | 40 genpkg_rules() |
pascal@1508 | 41 { |
Hans-G?nter@24499 | 42 mkdir -p $fs/usr |
Hans-G?nter@24499 | 43 cp -a $install/usr/local/bin $fs/usr |
pascal@1508 | 44 } |