You are not logged in.

#1 2006-01-14 10:28:33

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

[Request]SciCraft

Hi everybody,

it would be great if someone could make a PKGBUILD for[url=http://www.scicraft.org/]SciCraft[url].

Thanks

Offline

#2 2006-01-14 11:01:44

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Request]SciCraft

I'll have a look at it, as soon as I've downloaded the 55.4MB :!: tarball.

Offline

#3 2006-01-14 11:29:36

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: [Request]SciCraft

tomk wrote:

I'll have a look at it, as soon as I've downloaded the 55.4MB :!: tarball.

That´s the reason i won´t do it myself, i´ve got only a limited Internet-Connection.

Offline

#4 2006-01-14 16:20:33

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: [Request]SciCraft

ahhh.. wont you need to download that anyway to install it?! O_o

Offline

#5 2006-01-15 01:10:50

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Request]SciCraft

I'll have to pass on this, legout - there's plenty of user docs, but absolutely no install docs. It's python and latex stuff, both of which I've packaged before, but without documentation there's no point in me trying - I don't know enough about either to figure it out myself. :?

Father does have a point about the download, by the way.

Offline

#6 2006-01-15 09:20:01

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: [Request]SciCraft

Father wrote:

ahhh.. wont you need to download that anyway to install it?! O_o

That´s true, but if i download this later, i could be sure that it would work.
Otherwise i´ll download it and don´t know if i´ll get this to run. That´s the point. sad

Offline

#7 2006-01-15 18:04:51

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [Request]SciCraft

Here's a VERY ROUGH PKGBUILD:

pkgname=scicraft
pkgver=0.17.0
pkgrel=1
pkgdesc=""
url=" http://www.scicraft.org/"
license=""
depends=('r')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=( http://www.scicraft.org/files/${pkgname}_$pkgver.tar.gz)
md5sums=('b4f668daf9a368de7b8ec97847cb6bc7')

build() {
  cd $startdir/src/$pkgname-$pkgver
  make examples.tgz
  sed -i "s|, 'doc/manual/tex/scicraft.pdf'||" $startdir/src/$pkgname-$pkgver/setup.py
  python setup.py install --root $startdir/pkg --install-purelib /usr/lib/scicraft

}

Known issues:
- There's a missing dependency: rpy ( http://rpy.sourceforge.net/ ) that you'll need to build. There might be other missing depends too.
- I'm not using make install because the pdf manual can't be build from the latex files, they'll need to be patched. If you want the pdf manual, try to find a patch with Google. If you find nothing and are willing to do the patch, replace:

make examples.tgz
sed -i "s|, 'doc/manual/tex/scicraft.pdf'||" $startdir/src/$pkgname-$pkgver/setup.py
 python setup.py install --root $startdir/pkg --install-purelib /usr/lib/scicraft

by

make DESTDIR=$startdir/pkg install

and post the latex error here.  I'll tell you how to fix them.

Offline

Board footer

Powered by FluxBB