wok-next diff cgal/receipt @ rev 17814

Add xdg-user-dirs
author Yuri Pourre <yuripourre@gmail.com>
date Sat Mar 21 12:32:51 2015 -0300 (2015-03-21)
parents
children 2f3aba6cc31e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cgal/receipt	Sat Mar 21 12:32:51 2015 -0300
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cgal"
     1.7 +SOURCE="CGAL"
     1.8 +VERSION="4.4"
     1.9 +CATEGORY="misc"
    1.10 +SHORT_DESC="Computational Geometry Algorithms Library."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL3 LGPL3"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.14 +WEB_SITE="https://www.cgal.org/"
    1.15 +WGET_URL="https://gforge.inria.fr/frs/download.php/file/33526/$TARBALL"
    1.16 +
    1.17 +DEPENDS="libboost-thread libboost-system gcc-lib-base"
    1.18 +BUILD_DEPENDS="wget cmake libboost-dev gmp-dev mpfr-dev libboost-thread-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cmake -DCMAKE_INSTALL_PREFIX=/usr .
    1.24 +	make
    1.25 +	make install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/lib
    1.32 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.33 +}