1 # Contributor: Piotr Beling <qwak@stud.ics.p.lodz.pl>
7 pkgdesc="bridge double dummy solver"
8 url="http://web.telia.com/~u07502278/"
9 source=($url/dds${pkgver//./}-src.zip)
15 cd $startdir/src || return 1
19 #Fixed some errors in source:
21 # -e 's/void InitStart(void);/EXTERN_C void InitStart(void);/g' \
23 # patch -p1 < longlong.patch
25 gcc $CFLAGS -c dds.c -o dds.o || return 1
26 ar rc libdds.a dds.o || return 1
27 ranlib libdds.a || return 1
29 local destdir=$startdir/pkg/usr || return 1
30 install -d $destdir/{include,lib} || return 1
31 install -m644 dll.h $destdir/include/dds.h || return 1
32 install libdds.a $destdir/lib || return 1
35 md5sums=('726f40a6263cf62b283328e603d71f9e')