2 # Contributor: Yannick Poirier <contact@yannickpoirier.fr>
6 pkgdesc="This (Python/Qt) tool allows you to easily create FPGA bitfiles for your embedded system, from several Open Source IPs (compatibles with the OpenCores Wishbone bus) . It will also generates the corresponding drivers (currently only Linux ones)."
8 url="http://sourceforge.net/projects/periphondemand/"
11 depends=('python' 'pyparsing')
12 makedepends=('subversion')
21 md5sums=() #generate with 'makepkg -g'
23 _svntrunk=https://periphondemand.svn.sourceforge.net/svnroot/periphondemand/trunk
26 # -------------------------------------------------------------------------
27 # - see http://www.armadeus.com/wiki/index.php?title=POD_installation_guide
28 # -------------------------------------------------------------------------
33 if [ -d $_svnmod/.svn ]; then
34 (cd $_svnmod && svn up -r $pkgver)
36 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
39 msg "SVN checkout done or server timeout"
41 rm -rf "$srcdir/$_svnmod-build"
42 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
43 cd "$srcdir/${_svnmod}-build"
45 msg "Make python POD distribution..."
48 tar -zxvf PeriphOnDemand-*-*.tar.gz
49 cd PeriphOnDemand* #the current version is PeriphOnDemand-HEAD-59
51 msg "Now install POD ..."
53 python setup.py install --root="${pkgdir}" || return 1
55 msg "--------------------------------------------------------------------"
56 msg "please read http://www.armadeus.com/wiki/index.php?title=POD_Tutorial"
57 msg "--------------------------------------------------------------------"