1 # Contributor kevku <kevku@msn.com>
2 pkgname=bin32-gmlive-extra
6 pkgdesc="Addons for gmlive, provides pplive & ppstream support."
8 url="http://code.google.com/p/gmlive/"
10 depends=('lib32-libxext' 'libpps')
11 makedepends=('gcc-multilib')
12 install=bin32-gmlive-extra.install
13 source=("http://gmlive.googlecode.com/files/$_pkgname-$pkgver.tar.gz")
14 md5sums=('e94313ff9170e7375b75b518a7aae5cf')
17 cd "$srcdir/$_pkgname-$pkgver/ppstream"
18 tar xf "../lib-826.tar.gz"
19 sed -i 's|gcc -shared -Wl|gcc -m32 -shared -fPIC -Wl|g' Makefile
24 cd "$_pkgname-$pkgver/ppstream"
25 install -d ${pkgdir}/usr/bin
26 install -Dm755 xpps ${pkgdir}/usr/bin/
27 install -Dm755 ../xpplive ${pkgdir}/usr/bin/
28 #install -Dm755 ../sp-sc-auth ${pkgdir}/usr/bin/
29 install -d ${pkgdir}/usr/lib32/
30 #cp -ar lib/* ${pkgdir}/usr/lib32/
31 cp -ar libppswrapper-preload.* ${pkgdir}/usr/lib32/