wok-next diff doxygen/receipt @ rev 19742
Up alsaplayer and alsa-lib to v2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jun 05 19:31:24 2017 +0000 (2017-06-05) |
parents | f6af821600e6 |
children | f463de72afe3 |
line diff
1.1 --- a/doxygen/receipt Wed Jul 06 10:06:06 2016 +0200 1.2 +++ b/doxygen/receipt Mon Jun 05 19:31:24 2017 +0000 1.3 @@ -1,31 +1,41 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="doxygen" 1.7 -VERSION="1.7.4" 1.8 +VERSION="1.8.11" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Source code documentation generator tool." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -TARBALL="$PACKAGE-$VERSION.src.tar.gz" 1.14 WEB_SITE="http://www.stack.nl/~dimitri/doxygen/" 1.15 -WGET_URL="ftp://ftp.stack.nl/pub/users/dimitri/$TARBALL" 1.16 TAGS="language documentation" 1.17 1.18 -BUILD_DEPENDS="perl graphviz flex" 1.19 +TARBALL="$PACKAGE-$VERSION.src.tar.gz" 1.20 +WGET_URL="http://ftp.stack.nl/pub/doxygen/$TARBALL" 1.21 + 1.22 +BUILD_DEPENDS="cmake python" # graphviz 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 { 1.27 - sed -i 's|man/man1|share/&|' Makefile* 1.28 - ./configure --shared --prefix /usr --docdir /usr/share/doc \ 1.29 - --install /usr/bin/install && 1.30 + mkdir build && 1.31 + cd build && 1.32 + 1.33 + cmake -G "Unix Makefiles" \ 1.34 + -DCMAKE_BUILD_TYPE=Release \ 1.35 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.36 + .. && 1.37 make && 1.38 - make DESTDIR=$DESTDIR install 1.39 + make install && 1.40 + 1.41 + mkdir -p $install/usr/share/man/man1 && 1.42 + for i in ../doc/*.1; do 1.43 + sed "s|@VERSION@|$VERSION|g; s|@DATE@|$(date +%Y)|g" $i > \ 1.44 + $install/usr/share/man/man1 1.45 + done 1.46 } 1.47 1.48 # Rules to gen a SliTaz package suitable for Tazpkg. 1.49 genpkg_rules() 1.50 { 1.51 - mkdir -p $fs/usr 1.52 - cp -a $install/usr/bin $fs/usr 1.53 + cook_copy_folders bin 1.54 }