# SliTaz package receipt. PACKAGE="doxygen" VERSION="1.8.13" CATEGORY="development" TAGS="language documentation" SHORT_DESC="Source code documentation generator tool." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://github.com/doxygen/doxygen/" TARBALL="$PACKAGE-$VERSION.src.tar.gz" WGET_URL="${WEB_SITE}archive/Release_${VERSION//./_}.tar.gz" DEPENDS="gcc-lib-base" BUILD_DEPENDS="bison cmake flex gcc python" # What is the latest version available today? current_version() { wget -O - https://github.com/doxygen/doxygen/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/Release_\(.*\).tar.*|\1|;s|_|.|g;q' } # Rules to configure and make the package. compile_rules() { mkdir _build && cd _build && cmake .. \ -G "Unix Makefiles" && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/local/bin $fs/usr }