1 # Contributor: Georgios N. Tsalikis <aliverius@tsalikis.net>
6 pkgdesc="OpenGL extension to DirectFB"
8 url="http://www.directfb.org"
10 depends=('directfb>=1.3.0')
12 provides=('directfbgl')
13 conflicts=('directfbgl')
17 _gitroot="git://git.directfb.org/git/directfb/core/DirectFBGL.git"
21 msg "Connecting to git.directfb.org GIT server...."
23 if [[ -d $startdir/src/$_gitname ]] ; then
25 git pull origin || return 1
26 msg "The local files are updated."
28 git clone $_gitroot || return 1
31 msg "GIT checkout done"
34 rm -rf $startdir/src/$_gitname-build
36 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
37 cd $startdir/src/$_gitname-build
39 msg "Starting make..."
41 ./autogen.sh --prefix=/usr
43 make prefix=$startdir/pkg/usr install