blob: a71a288b081b25c830ff423a01227289635da687 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Kevin Meagher <kmeagher at icecube dot wisc dot edu>
pkgname=healpix
pkgver='3.83'
_pkgdate='2024Nov13'
pkgrel=0
pkgdesc="Software for pixelization, hierarchical indexation, synthesis, analysis, and visualization of data on the sphere."
arch=('x86_64')
url="https://healpix.jpl.nasa.gov/"
license=('GPL-2.0-or-later')
groups=()
depends=(glibc gcc-libs cfitsio)
makedepends=()
provides=()
conflicts=(libsharp)
replaces=()
backup=()
options=(!emptydirs)
install=
source=("https://downloads.sourceforge.net/project/healpix/Healpix_${pkgver}/Healpix_${pkgver}_${_pkgdate}.tar.gz")
md5sums=('8eb74bc9b002c8c821dd42499138111b')
sha1sums=('afb8874eb580ae8d1b320a244bbcc7c19cd8db7b')
sha256sums=('8876c18efc596fd706b2a004ac15f2fb60b795f2db6fbabea9d8ccf549531dda')
build() {
cd "${srcdir}/Healpix_${pkgver}/src/C/autotools"
autoreconf --install
./configure --prefix=/usr
make -j
cd "${srcdir}/Healpix_${pkgver}/src/common_libraries/libsharp"
./configure --prefix=/usr
make -j
cd "${srcdir}/Healpix_${pkgver}/src/cxx"
autoreconf --install
export SHARP_CFLAGS="-I${srcdir}/Healpix_${pkgver}/src/common_libraries/libsharp/"
export SHARP_LIBS="-L${srcdir}/Healpix_${pkgver}/src/common_libraries/libsharp/.libs -lsharp"
./configure --prefix=/usr
make -j
}
package() {
cd "${srcdir}/Healpix_${pkgver}/src/C/autotools"
make DESTDIR=${pkgdir} install
cd "${srcdir}/Healpix_${pkgver}/src/common_libraries/libsharp"
make DESTDIR=${pkgdir} install
cd "${srcdir}/Healpix_${pkgver}/src/cxx"
make DESTDIR=${pkgdir} install
}
|