blob: 81b7a86b462b314a3f40945b606fdde36d76927a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Tyler Veness <calcmogul at gmail dot com>
_target="arm-frc-linux-gnueabi"
pkgname=${_target}-eigen
pkgver=3.2.6
_basever=3.2.6-r0.5
_year=2017
pkgrel=1
pkgdesc="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra (${_target})"
arch=('any')
url='http://eigen.tuxfamily.org'
license=('GPL3' 'LGPL2.1' 'BSD' 'custom:MPL2' 'custom:MINPACK')
source=("http://download.ni.com/ni-linux-rt/feeds/${_year}/arm/ipk/cortexa9-vfpv3/libeigen-dev_${_basever}_cortexa9-vfpv3.ipk")
sha1sums=('c5e475aaaa540f39e4a0cce350bb04351512952e')
package() {
cd "${srcdir}"
for file in *.ipk; do
ar x $file
tar xf data.tar.gz
done
mkdir -p ${pkgdir}/usr/${_target}
find . \( -name .install -o -name ..install.cmd \) -delete
cp -r usr ${pkgdir}/usr/${_target}
}
|