6 pkgdesc="A C data structure library, include singly/double link list, sparse array, splay tree, AVL tree, bin tree. AmigaOS, Linux, OpenBSD, Irix, etc"
7 url="http://ubiqx.org/modules.html"
16 source=(http://ubiqx.org/pub/libubiqx.tgz)
17 md5sums=('89e46c3958e067d9325f7da47f9f145f')
19 cd $startdir/src/$pkgname
20 make libubiqx.a || return 1
21 install -m755 -d $pkgdir/usr/lib
22 install -m755 -d $pkgdir/usr/include/ubiqx
23 install -m755 -t $pkgdir/usr/lib libubiqx.a
24 install -m755 -t $pkgdir/usr/include/ubiqx library/*h
27 sed -e 's/CFLAGS = -O2/CFLAGS = -O2 -fPIC/' Makefile > .tmp
30 cc -shared -o libubiqx.so library/*o
31 install -m755 -t $pkgdir/usr/lib libubiqx.so