blob: 8b7c0d6537f15c5cf254a294e41b4108aa826718 (
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
27
28
29
30
31
32
33
34
35
36
37
38
|
# Contributor: Bjoern Schilberg <bjoern@intevation.de>
# Maintainer: Bjoern Schilberg <bjoern@intevation.de>
pkgname=freexl
pkgver=1.0.5
pkgrel=0
pkgdesc="Library to extract valid data from within an Excel (.xls) spreadsheet"
url="https://www.gaia-gis.it/fossil/freexl/index"
arch="all"
license="MPL-1.1 GPL-2.0-only LGPL-2.1-only"
subpackages="$pkgname-dev"
source="http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
update_config_sub
}
build() {
cd "$builddir"
./configure \
--host=$CHOST \
--build=$CBUILD \
--prefix /usr
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/share/
}
sha512sums="86d742f58353be1f3ab683899a4d914845250b481acc078c769ef337d0a6ea24d25501a3e7c73b95904c6839ddd35f53e58ad4eee0c3b433caa84db0a8c6462b freexl-1.0.5.tar.gz"
|