1 # Maintainer: Gadget3000 <gadget3000 at msn dot com>
6 pkgdesc="A simple, cross-platform CD playing library"
8 url="http://tjaden.strangesoft.net/libcda/"
10 source=(http://tjaden.strangesoft.net/libcda/$_pkgname-$pkgver.tar.gz)
11 md5sums=('e16992259c588a9d0686fa5196a54824')
14 cd "$srcdir/$_pkgname-$pkgver"
15 gcc -O2 -m32 -fPIC -DPIC -o linux.o -c linux.c
16 gcc -O2 -m32 -g -shared -Wl,-soname=libcda.so.0 -o libcda.so.0 linux.o
20 cd "$srcdir/$_pkgname-$pkgver"
21 install -D -m755 libcda.so.0 ${pkgdir}/usr/lib/libcda.so.0
22 install -D -m644 libcda.h ${pkgdir}/usr/include/libcda/libcda.h
23 ln -s /usr/lib/libcda.so.0 ${pkgdir}/usr/lib/libcda.so
25 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"