wok annotate cgal/receipt @ rev 24730

updated libdvdcss and libdvdcss-dev (1.4.2 -> 1.4.3)
author Hans-G?nter Theisgen
date Tue Mar 15 17:10:03 2022 +0100 (2022-03-15)
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 }