blob: 50c376b76e54de683db9379eaca1e10529bd2f37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#Contributor:Andrea Tarocchi <valdar@email.it>
pkgname=wiiuse
pkgver=0.12
pkgrel=3
pkgdesc="Wiiuse is a library written in C that connects with several Nintendo Wii remotes."
arch=(i686 x86_64)
url="http://wiiuse.sourceforge.net/"
depends=('bluez-libs')
license="GPL3"
install=wiiuse.install
postfix=_src.tar.gz
source=(http://downloads.sourceforge.net/sourceforge/wiiuse/wiiuse_v$pkgver\_src.tar.gz)
md5sums=('29b555096f79dbd3fbc9b96b8d443083')
build() {
cd $startdir/src/wiiuse_v$pkgver
make wiiuse || return 1
#installing
mkdir -p $startdir/pkg/usr/lib
mkdir -p $startdir/pkg/usr/include
install -D -m644 ./src/release-`gcc -v 2>&1|grep ^Target:|cut -d' ' -f2`/libwiiuse.so $startdir/pkg/usr/lib
install -D -m644 ./src/wiiuse.h $startdir/pkg/usr/include
}
|