1 # Maintainer: Nicola Fontana <ntd@entidi.it>
6 pkgdesc='A portable implementation of the Forth programming language written in ANSI C.'
7 url='http://code.google.com/p/pforth/'
17 _svntrunk='http://pforth.googlecode.com/svn/trunk/'
18 _svnmod='pforth-read-only'
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ${srcdir}/.subversion -r $pkgver $_svnmod
31 make -f build/unix/Makefile all \
32 SRCDIR=. FULL_WARNINGS= DEBUGOPTS= \
33 EXTRA_CCOPTS='-DPF_DEFAULT_DICTIONARY=\"/usr/share/pforth/pforth.dic\"'
34 install -D -m755 pforth ${pkgdir}/usr/bin/pforth || return 1
35 install -D -m755 pforth_standalone ${pkgdir}/usr/bin/pforth_standalone || return 1
36 install -D -m644 pforth.dic $pkgdir/usr/share/pforth/pforth.dic
37 install -D -m644 readme.txt $pkgdir/usr/share/pforth/README
38 install -D -m644 releases.txt $pkgdir/usr/share/pforth/NEWS