inscore is very experimental
[archaudio:archaudio.git] / testing / oscpack / PKGBUILD
1
2 pkgname=oscpack
3 pkgver=1.0.2
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 pkgdesc="Oscpack is simply a set of C++ classes for packing and unpacking OSC packets."
7 url="http://www.audiomulch.com/~rossb/code/oscpack/"
8 license="GPL"
9 depends=()
10 makedepends=('addinclude')
11 source=(http://www.audiomulch.com/~rossb/code/oscpack/${pkgname}_1_0_2.zip Makefile) 
12 md5sums=('7cc36dab6fbb199ed3ee5ce6b8c877d7'
13          '5b65c869f2e871fd63669dcdbd25dfd6')
14
15 build() {
16
17   for i in $srcdir/$pkgname/{tests,osc}/*.h ; do
18 #     addinclude $i string
19 #     addinclude $i stdlib
20      addinclude $i '#include <string.h>'
21      addinclude $i '#include <stdlib.h>'
22   done
23
24    cd $srcdir/$pkgname
25    mv Makefile Makefile.old
26    cp $srcdir/Makefile $srcdir/$pkgname
27
28   cd $srcdir/$pkgname
29
30   make
31   make PREFIX=$startdir/pkg/usr install
32 }