wok-next view doxygen/receipt @ rev 20709

cdrdao: add patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 26 17:09:29 2018 +0300 (2018-05-26)
parents f463de72afe3
children 7c5d038be95b
line source
1 # SliTaz package receipt v2.
3 PACKAGE="doxygen"
4 VERSION="1.8.11"
5 CATEGORY="development"
6 SHORT_DESC="Source code documentation generator tool"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.stack.nl/~dimitri/doxygen/"
11 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
12 WGET_URL="http://ftp.stack.nl/pub/doxygen/$TARBALL"
14 BUILD_DEPENDS="cmake python" # graphviz
16 compile_rules() {
17 mkdir build
18 cd build
20 cmake -G "Unix Makefiles" \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 .. &&
24 make &&
25 make install || return 1
27 mkdir -p $install/usr/share/man/man1
28 for i in ../doc/*.1; do
29 sed "s|@VERSION@|$VERSION|g; s|@DATE@|$(date +%Y)|g" $i > \
30 $install/usr/share/man/man1/${i##*/}
31 done
32 }
34 genpkg_rules() {
35 copy bin/
36 TAGS="language documentation"
37 }