1 # Contributor: Uwe Strempel <u.strempel@googlemail.com>
5 pkgdesc="Is an interface to VDR via SVDRP protocol."
7 url="http://hg.geexbox.org/libsvdrp"
10 makedepends=('mercurial')
13 conflicts=('libsvdrp')
16 _hgroot="http://hg.geexbox.org/libsvdrp"
22 if [ -d ${_hgrepo} ]; then
23 cd ${startdir}/src/${_hgrepo}
26 hg clone ${_hgroot}${_hgrepo} || return 1
27 cd ${startdir}/src/${_hgrepo}
30 msg "Mercurial checkout done or server timeout"
31 msg "Starting make..."
33 cp -R ${startdir}/src/${_hgrepo} ${startdir}/src/${_hgrepo}-build
34 cd ${startdir}/src/${_hgrepo}-build
36 ./autogen.sh --prefix=/usr || return 1
38 make DESTDIR=${startdir}/pkg install
40 rm -rf ${startdir}/src/${_hgrepo}-build