wok annotate cgal/receipt @ rev 25672
Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 14:07:44 2024 +0000 (7 months ago) |
parents | 82133530f0c4 |
children |
rev | line source |
---|---|
pascal@16724 | 1 # SliTaz package receipt. |
pascal@16724 | 2 |
pascal@16724 | 3 PACKAGE="cgal" |
pascal@16724 | 4 SOURCE="CGAL" |
pascal@19722 | 5 VERSION="4.9" |
pascal@16724 | 6 CATEGORY="misc" |
pascal@16724 | 7 SHORT_DESC="Computational Geometry Algorithms Library." |
pascal@16724 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16724 | 9 LICENSE="GPL3 LGPL3" |
pascal@16724 | 10 TARBALL="$SOURCE-$VERSION.tar.xz" |
pascal@16724 | 11 WEB_SITE="https://www.cgal.org/" |
pascal@19722 | 12 WGET_URL="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-$VERSION/$TARBALL" |
pascal@16724 | 13 |
pascal@16724 | 14 DEPENDS="libboost-thread libboost-system gcc-lib-base" |
pascal@16724 | 15 BUILD_DEPENDS="wget cmake libboost-dev gmp-dev mpfr-dev libboost-thread-dev" |
pascal@16724 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@16724 | 23 # Rules to configure and make the package. |
pascal@16724 | 24 compile_rules() |
pascal@16724 | 25 { |
pascal@16724 | 26 cmake -DCMAKE_INSTALL_PREFIX=/usr . |
pascal@16724 | 27 make |
pascal@16724 | 28 make install |
pascal@16724 | 29 } |
pascal@16724 | 30 |
pascal@16724 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16724 | 32 genpkg_rules() |
pascal@16724 | 33 { |
pascal@16724 | 34 mkdir -p $fs/usr/lib |
pascal@16724 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@16724 | 36 } |