1 # Contributor: Nezmer <Nezmer@allurelinux.org>
5 pkgdesc="The Oil Runtime Compiler"
7 url="http://code.entropywave.com/projects/orc"
11 LDFLAGS="${LDFLAGS/-Wl,--as-needed}"
13 _gitroot="git://code.entropywave.com/git/orc.git"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_gitname-build"
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
35 ./configure --prefix=/usr --disable-static
37 make DESTDIR="$pkgdir/" install
38 install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING