updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / producer / PKGBUILD
blob5689be31b9bbe0949a683fcb79e6638c43f704f1
1 # Contributor: Juan Diego Tascon
3 pkgname=producer
4 pkgver=1.1.1
5 pkgrel=1
6 pkgdesc="Cross platform library focused on camera control"
7 arch=('i686' 'x86_64')
8 url="http://www.andesengineering.com/Producer"
9 license=('GPL')
10 makedepends=('glut')
11 source=("http://www.andesengineering.com/Producer/Download/Releases/Producer-1.1-1.tar.gz")
12 md5sums=('074e9fa67d3de8460e459453eac557c1')
14 build() {
15         # configure
16         cd ${startdir}/src/Producer-1.1-1
18         for f in src/*.cpp
19         do
20                 ( echo "#include <stdlib.h>"; echo "#include <string.h>"; cat $f ) >> $f.tmp
21                 mv -f $f.tmp $f
22         done
24         make
26         mkdir -p ${startdir}/pkg/usr/
28         make INST_LOCATION=${startdir}/pkg/usr/ install