You are not logged in.

#1 2005-07-11 16:33:08

iom
Member
From: Slovenia
Registered: 2005-04-18
Posts: 35

[NEW] ROOT (root-cern)

ROOT

rootlogo.gif

PKGBUILD:

# Contributor: iom <pizorn@gmail.com>

pkgname=root-cern
pkgver=5.02.00
pkgrel=1
depends=('perl' 'libtiff' 'libxml2' 'xorg')
pkgdesc="CERN ROOT: An Object-Oriented Data Analysis Framework"
url="http://root.cern.ch"
install=root-cern.install
source=( ftp://root.cern.ch/root/root_v${pkgver}.source.tar.gz )
md5sums=('263c9ff775e9af68fe63b35d76ad8439')

build() {
  cd $startdir/src/root
  ./configure linux --prefix=/usr  
       --disable-krb5 --disable-ssl --disable-ldap 
     --disable-xrootd --disable-opengl
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
}

root-cern.install

post_install() {
    sed -e '//usr/lib/root/d' -i /etc/ld.so.conf
    echo '/usr/lib/root' >> /etc/ld.so.conf
    /sbin/ldconfig -r .
}


pre_remove() {
    sed -e '//usr/lib/root/d' -i /etc/ld.so.conf
    /sbin/ldconfig -r .
}

op=$1
shift
$op $*

this is a very powerful data analysis environment, it is commonly used in experimental particle physics (huge amount of data...).

Offline

Board footer

Powered by FluxBB