wok annotate eigen/receipt @ rev 20058
Up slitaz-base-files (331), slitaz-boot-scripts (443).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 12 02:02:47 2017 +0300 (2017-09-12) |
parents | |
children | 5a370aced713 |
rev | line source |
---|---|
pascal@17321 | 1 # SliTaz package receipt. |
pascal@17321 | 2 |
pascal@17321 | 3 PACKAGE="eigen" |
pascal@17321 | 4 VERSION="3.2.2" |
pascal@17321 | 5 CATEGORY="development" |
pascal@17321 | 6 SHORT_DESC="A C++ template library for linear algebra." |
pascal@17321 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17321 | 8 LICENSE="MPL2 LGPL BSD" |
pascal@17321 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@17321 | 10 WEB_SITE="http://eigen.tuxfamily.org/" |
pascal@17321 | 11 WGET_URL="https://bitbucket.org/$PACKAGE/$PACKAGE/get/$VERSION.tar.bz2" |
pascal@17321 | 12 |
pascal@17321 | 13 DEPENDS="" |
pascal@17321 | 14 BUILD_DEPENDS="wget cmake pkg-config glib" |
pascal@17321 | 15 |
pascal@17321 | 16 # Rules to configure and make the package. |
pascal@17321 | 17 # |
pascal@17321 | 18 compile_rules() |
pascal@17321 | 19 { |
pascal@17321 | 20 mkdir built |
pascal@17321 | 21 cd built |
pascal@17321 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr ../ |
pascal@17321 | 23 make && |
pascal@17321 | 24 make DESTDIR=$DESTDIR install |
pascal@17321 | 25 } |
pascal@17321 | 26 |
pascal@17321 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17321 | 28 genpkg_rules() |
pascal@17321 | 29 { |
pascal@17321 | 30 cp -a $install/* $fs |
pascal@17321 | 31 } |