4 pkgdesc="Cookie is an AI secretary application"
6 url="http://onebluecat.net/cookie"
17 wget $url/cookie-src_0.2.tar.gz -O $srcdir/cookie-src_0.2.tar.gz
18 wget $url/aitools-src_0.2.tar.gz -O $srcdir/aitools-src_0.2.tar.gz
20 tar xf $srcdir/aitools-src_0.2.tar.gz
21 tar xf $srcdir/cookie-src_0.2.tar.gz
23 mkdir -p $pkgdir/usr/include/aitools
24 mkdir -p $pkgdir/usr/bin
25 mkdir -p $pkgdir/etc/aitools
27 cd $srcdir/aitools; make
28 install $srcdir/aitools/aitools.h $pkgdir/usr/include/aitools/aitools.h
29 install $srcdir/aitools/libaitools.a $pkgdir/usr/include/aitools/libaitools.a
32 cd $srcdir/ai; gcc -g -O2 --std=c99 -Wall cookie.c -o cookie -I$pkgdir/usr/include/aitools -L$pkgdir/usr/include/aitools -laitools
33 install -m 755 $srcdir/ai/cookie $pkgdir/usr/bin/cookie
34 chmod +x $pkgdir/usr/bin/cookie
35 chown -R $USER $pkgdir/etc/aitools