4 pkgdesc="An system call interceptor creation utility library and environment."
6 url="http://chilon.net/pito"
7 license=('MPL' 'GPL' 'LGPL')
8 depends=('bash' 'boost>=1.39')
9 makedepends=('git' 'cmake>=2.6')
11 # install=conkeror.install
12 # source=(http://ftp.eenet.ee/gentoo-portage/www-client/conkeror/files/conkeror.desktop)
13 # md5sums=('480131d88397ede9d92bf27e96d2d84a')
15 _gitroot="git://gitorious.org/pito/pito.git"
22 if [ -d $srcdir/${_gitname} ] ; then
23 msg "Git checkout: Updating existing tree"
24 cd ${_gitname} && git pull origin || return 1
25 msg "Git checkout: Tree has been updated"
27 msg "Git checkout: Retrieving sources"
28 git clone ${_gitroot} || return 1
30 msg "Checkout completed"
33 rm -rf $srcdir/${_gitname}-build
34 cp -r $srcdir/${_gitname} $srcdir/${_gitname}-build || return 1
35 cd $srcdir/${_gitname}-build
36 cd src/pito && ./configure --prefix=/usr && make || return 1
40 cd $srcdir/${_gitname}-build/src/pito
41 make install DESTDIR=$pkgdir