1 # Maintainer: Henrik Hallberg <halhen at k2h dot se>
6 pkgdesc="Open-source implementation of Boostexter (Adaboost based classifier)"
8 url="http://code.google.com/p/icsiboost/"
12 makedepends=('subversion')
13 provides=('icsiboost')
18 _svntrunk="http://icsiboost.googlecode.com/svn/trunk/"
24 if [[ -d ${_svnmod}/.svn ]]; then
25 (cd ${_svnmod} && svn up -r $pkgver)
27 svn co ${_svntrunk} -r ${pkgver} ${_svnmod}
30 rm -rf ${srcdir}/${_svnmod}-build
31 cp -r ${srcdir}/${_svnmod}/icsiboost ${srcdir}/${_svnmod}-build
32 cd ${srcdir}/${_svnmod}-build
34 ./configure --prefix=/usr || return 1
35 make PREFIX=/usr DESTDIR=$pkgdir install || return 1
37 install -m644 -D COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING