wok-next annotate doxygen/receipt @ rev 21271
up openssl10: 1.0.2o to 1.0.2t -> soon EOL
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Dec 07 12:21:21 2019 +0000 (2019-12-07) |
parents | 7c5d038be95b |
children | e452d7648a5a |
rev | line source |
---|---|
al@20457 | 1 # SliTaz package receipt v2. |
pascal@1508 | 2 |
pascal@1508 | 3 PACKAGE="doxygen" |
al@21099 | 4 VERSION="1.8.15" |
pascal@1508 | 5 CATEGORY="development" |
al@20457 | 6 SHORT_DESC="Source code documentation generator tool" |
pascal@1508 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
al@21085 | 9 WEB_SITE="http://doxygen.nl/" |
al@21085 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/doxygen.html" |
jozee@4934 | 11 |
al@19653 | 12 TARBALL="$PACKAGE-$VERSION.src.tar.gz" |
al@21085 | 13 WGET_URL="http://doxygen.nl/files/$TARBALL" |
al@21099 | 14 TARBALL_SHA1="bb5d7456a7ff63768e8755762860d64debd3a4ff" |
al@19653 | 15 |
al@19653 | 16 BUILD_DEPENDS="cmake python" # graphviz |
pascal@1508 | 17 |
al@21085 | 18 TAGS="language documentation" |
al@21085 | 19 |
al@20457 | 20 compile_rules() { |
al@20457 | 21 mkdir build |
al@20457 | 22 cd build |
al@19653 | 23 |
al@19653 | 24 cmake -G "Unix Makefiles" \ |
al@19653 | 25 -DCMAKE_BUILD_TYPE=Release \ |
al@19653 | 26 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@21085 | 27 -Wno-dev \ |
al@19653 | 28 .. && |
pascal@1508 | 29 make && |
al@20457 | 30 make install || return 1 |
al@19653 | 31 |
al@20457 | 32 mkdir -p $install/usr/share/man/man1 |
al@19653 | 33 for i in ../doc/*.1; do |
al@19653 | 34 sed "s|@VERSION@|$VERSION|g; s|@DATE@|$(date +%Y)|g" $i > \ |
al@20457 | 35 $install/usr/share/man/man1/${i##*/} |
al@19653 | 36 done |
pascal@1508 | 37 } |