wok-next view doxygen/receipt @ rev 20113
Add some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 09:29:31 2017 +0100 (2017-10-30) |
parents | c5336999f370 |
children | c37be8966f03 |
line source
1 # SliTaz package receipt.
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/"
10 TAGS="language documentation"
12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
13 WGET_URL="http://ftp.stack.nl/pub/doxygen/$TARBALL"
15 BUILD_DEPENDS="cmake python" # graphviz
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build &&
21 cd build &&
23 cmake -G "Unix Makefiles" \
24 -DCMAKE_BUILD_TYPE=Release \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 .. &&
27 make &&
28 make install &&
30 mkdir -p $install/usr/share/man/man1 &&
31 for i in ../doc/*.1; do
32 sed "s|@VERSION@|$VERSION|g; s|@DATE@|$(date +%Y)|g" $i > \
33 $install/usr/share/man/man1
34 done
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 copy bin/
41 }