mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
change tnt releated
This commit is contained in:
parent
43e6e91ca1
commit
abf784cbb3
7 changed files with 1 additions and 104 deletions
56
pvm/PKGBUILD
56
pvm/PKGBUILD
|
@ -1,56 +0,0 @@
|
|||
# Contributor: Thomas Zervogiannis <tzervo@gmail.com>
|
||||
# Contributor: Philipp Robbel <robbel@gmail.com>
|
||||
# Contributor: Mikołaj Milej <mikolajmm@gmail.com>
|
||||
|
||||
pkgname=pvm
|
||||
pkgver=3.4.6
|
||||
pkgrel=5
|
||||
pkgdesc="Parallel Virtual Machine"
|
||||
url="http://www.csm.ornl.gov/pvm/"
|
||||
license=('GPL')
|
||||
depends=('glibc')
|
||||
arch=('i686' 'x86_64')
|
||||
install=${pkgname}.install
|
||||
source=(http://www.netlib.org/pvm3/$pkgname$pkgver.tgz pvm.profile)
|
||||
sha512sums=('a8ddb8fc944bbe64d185eeffba0e020f28af4c8175a446511deca55d7c4f5cf62884c8c5dcb03dd9700bcc48368c8dab353e45656094d139385d88fdf34dd78a'
|
||||
'8c7a612abd0f9f132900a2e4839d9ac2cbcae88cc3d835b82cdad25c3dddcf03f98542afb4d15ac4360523ce6f36057e1269af28694eebf1621cf5b35d0ca920')
|
||||
|
||||
build() {
|
||||
cd $srcdir/${pkgname}3
|
||||
|
||||
# Make pvm FORTRAN90-friendly
|
||||
sed -i 's/^c/!/' include/fpvm3.h include/fpvm3_watcom.h
|
||||
|
||||
for i in conf/LINUX*def; do
|
||||
sed -i.orig -e '/^ARCHCFLAGS/s~/usr/bin/rsh\\"~/usr/bin/ssh\\" ${CXXFLAGS}~' "${i}"
|
||||
done
|
||||
|
||||
unset PVM_ARCH
|
||||
export PVM_ROOT=$srcdir/${pkgname}3
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/${pkgname}3
|
||||
|
||||
mkdir -p $pkgdir/usr/man
|
||||
mv $srcdir/${pkgname}3/man/man1 $pkgdir/usr/man
|
||||
mkdir -p $pkgdir/usr/man/man3
|
||||
mv $srcdir/${pkgname}3/man/man3 $pkgdir/usr/man
|
||||
|
||||
# remove some unnecessary files
|
||||
# rm -rf Readme.* Makefile* WIN32 examples gexamples conf console make* cygwin.mak doc hoster libfpvm man misc pvmgs rm shmd src tasker tracer xdr xep
|
||||
# find . -name '*.cmd' -o -name '*.bat' -o -name '*.stub' | xargs rm -f
|
||||
|
||||
# install the rest of pvm
|
||||
mkdir -p $pkgdir/usr/share/${pkgname}3
|
||||
cp -r * $pkgdir/usr/share/${pkgname}3
|
||||
mkdir -p $pkgdir/usr/bin
|
||||
ln -s /usr/share/pvm3/lib/LINUX/pvm $pkgdir/usr/bin/pvm
|
||||
ln -s /usr/share/pvm3/lib/LINUX/pvmd3 $pkgdir/usr/bin/pvmd3
|
||||
ln -s /usr/share/pvm3/lib/LINUX/pvmgs $pkgdir/usr/bin/pvmgs
|
||||
|
||||
# environment variables
|
||||
mkdir -p $pkgdir/etc/profile.d
|
||||
install -m755 $startdir/${pkgname}.profile $pkgdir/etc/profile.d/${pkgname}3.sh
|
||||
}
|
10
pvm/lilac.py
10
pvm/lilac.py
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
|
@ -1,8 +0,0 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- regex: pvm(\d+.\d+.\d+).tgz
|
||||
source: regex
|
||||
url: http://www.netlib.org/pvm3/
|
|
@ -1,25 +0,0 @@
|
|||
post_install() {
|
||||
echo "-----------------------------------------------"
|
||||
echo "Environment variables have changed. Either log"
|
||||
echo "out and back in or source /etc/profile before"
|
||||
echo "using pvm!"
|
||||
echo ""
|
||||
echo "NOTE: To enable other computers to invoke the"
|
||||
echo " PVM daemon on your machine, add the"
|
||||
echo " source /etc/profile.d/pvm3.sh"
|
||||
echo " command to your .bashrc"
|
||||
echo "-----------------------------------------------"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
/bin/true
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
/bin/true
|
||||
}
|
||||
|
||||
op=$1
|
||||
shift
|
||||
|
||||
$op "$@"
|
|
@ -1,2 +0,0 @@
|
|||
export PVM_ROOT=/usr/share/pvm3
|
||||
export PVM_ARCH=LINUX
|
|
@ -11,8 +11,7 @@ provides=('tnt')
|
|||
license=('custom')
|
||||
depends=(
|
||||
'ncurses5-compat-libs'
|
||||
'pvm'
|
||||
)
|
||||
)
|
||||
source=("http://www.lillo.org.ar/phylogeny/tnt/tnt64-no-tax-limit.zip")
|
||||
sha256sums=('833d7eadc1132838e718ada44548626933a0ec76e8b2454d495bdf2352b8a25a')
|
||||
package () {
|
||||
|
|
|
@ -10,4 +10,3 @@ update_on:
|
|||
to_pattern: \1.\2.\3
|
||||
repo_depends:
|
||||
- ncurses5-compat-libs
|
||||
- pvm
|
||||
|
|
Loading…
Add table
Reference in a new issue