mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
bayestraits: init
This commit is contained in:
parent
2452005091
commit
dfd920907f
2 changed files with 45 additions and 0 deletions
32
BioArchLinux/bayestraits/PKGBUILD
Normal file
32
BioArchLinux/bayestraits/PKGBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||
|
||||
pkgbase=bayestraits
|
||||
_pkg=BayesTraits
|
||||
pkgname=('bayestraits' 'bayestraits-mpi')
|
||||
pkgver=4.0.1
|
||||
pkgrel=0
|
||||
arch=('x86_64')
|
||||
pkgdesc="A computer package for performing analyses of trait evolution among groups of species \
|
||||
for which a phylogeny or sample of phylogenies is available"
|
||||
url="http://www.evolution.reading.ac.uk/BayesTraits.html"
|
||||
license=('GPL')
|
||||
makedepends=('gcc' 'nlopt' 'gsl' )
|
||||
source=(http://www.evolution.reading.ac.uk/BayesTraitsV${pkgver}/Files/BayesTraitsV${pkgver}-src.tar.gz)
|
||||
sha256sums=('115511f550894fcae3c731dfa7458f926e144b0046983a1ff83d22cd4c349953')
|
||||
build() {
|
||||
cd ${_pkg}V${pkgver}-src
|
||||
gcc *.c -O3 -lm -lgsl -lgslcblas -lnlopt -o $pkgbase
|
||||
gcc *.c -O3 -lm -lgsl -lgslcblas -lnlopt -DOPENMP_THR -fopenmp -o $pkgbase-mpi
|
||||
}
|
||||
|
||||
package_bayestraits(){
|
||||
depends=('nlopt' 'gsl' 'cblas' 'glibc' 'gcc-libs')
|
||||
cd ${_pkg}V${pkgver}-src
|
||||
install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
|
||||
}
|
||||
|
||||
package_bayestraits-mpi(){
|
||||
depends=('nlopt' 'openmpi' 'gsl' 'cblas' 'glibc' 'gcc-libs')
|
||||
cd ${_pkg}V${pkgver}-src
|
||||
install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
|
||||
}
|
13
BioArchLinux/bayestraits/lilac.yaml
Normal file
13
BioArchLinux/bayestraits/lilac.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
build_prefix: extra-x86_64
|
||||
pre_build_script: |
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
post_build_script: |
|
||||
git_pkgbuild_commit()
|
||||
update_on:
|
||||
- source: regex
|
||||
url: "http://www.evolution.reading.ac.uk/BayesTraits.html"
|
||||
regex: 'BayesTraits V([\d+.]+\d+) - Source Code'
|
Loading…
Add table
Reference in a new issue