wok-next annotate doxygen/receipt @ rev 20153
syslinux: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 15:14:00 2017 +0100 (2017-11-01) |
parents | c5336999f370 |
children | c37be8966f03 |
rev | line source |
---|---|
pascal@1508 | 1 # SliTaz package receipt. |
pascal@1508 | 2 |
pascal@1508 | 3 PACKAGE="doxygen" |
al@19653 | 4 VERSION="1.8.11" |
pascal@1508 | 5 CATEGORY="development" |
pascal@1508 | 6 SHORT_DESC="Source code documentation generator tool." |
pascal@1508 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
pascal@1508 | 9 WEB_SITE="http://www.stack.nl/~dimitri/doxygen/" |
jozee@4934 | 10 TAGS="language documentation" |
jozee@4934 | 11 |
al@19653 | 12 TARBALL="$PACKAGE-$VERSION.src.tar.gz" |
al@19653 | 13 WGET_URL="http://ftp.stack.nl/pub/doxygen/$TARBALL" |
al@19653 | 14 |
al@19653 | 15 BUILD_DEPENDS="cmake python" # graphviz |
pascal@1508 | 16 |
pascal@1508 | 17 # Rules to configure and make the package. |
pascal@1508 | 18 compile_rules() |
pascal@1508 | 19 { |
al@19653 | 20 mkdir build && |
al@19653 | 21 cd build && |
al@19653 | 22 |
al@19653 | 23 cmake -G "Unix Makefiles" \ |
al@19653 | 24 -DCMAKE_BUILD_TYPE=Release \ |
al@19653 | 25 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19653 | 26 .. && |
pascal@1508 | 27 make && |
al@19653 | 28 make install && |
al@19653 | 29 |
al@19653 | 30 mkdir -p $install/usr/share/man/man1 && |
al@19653 | 31 for i in ../doc/*.1; do |
al@19653 | 32 sed "s|@VERSION@|$VERSION|g; s|@DATE@|$(date +%Y)|g" $i > \ |
al@19653 | 33 $install/usr/share/man/man1 |
al@19653 | 34 done |
pascal@1508 | 35 } |
pascal@1508 | 36 |
pascal@1508 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1508 | 38 genpkg_rules() |
pascal@1508 | 39 { |
al@19783 | 40 copy bin/ |
pascal@1508 | 41 } |