diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-05-03 20:52:37 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-05-03 20:52:37 (GMT) |
commit | da0cd9048620129cfd27b1262e5856c495cea832 (patch) | |
tree | 12ef73046ee1f5fa5150b08989f33cf734d7c2e6 /abs/extra-testing/community/cwiid-svn/PKGBUILD | |
parent | e596232c2c2076c3c776c19e095aa8a57eb8d4f7 (diff) | |
download | linhes_pkgbuild-da0cd9048620129cfd27b1262e5856c495cea832.zip linhes_pkgbuild-da0cd9048620129cfd27b1262e5856c495cea832.tar.gz linhes_pkgbuild-da0cd9048620129cfd27b1262e5856c495cea832.tar.bz2 |
Initial inclusion, need for MythPyWii.
Diffstat (limited to 'abs/extra-testing/community/cwiid-svn/PKGBUILD')
-rw-r--r-- | abs/extra-testing/community/cwiid-svn/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/abs/extra-testing/community/cwiid-svn/PKGBUILD b/abs/extra-testing/community/cwiid-svn/PKGBUILD new file mode 100644 index 0000000..f02d179 --- /dev/null +++ b/abs/extra-testing/community/cwiid-svn/PKGBUILD @@ -0,0 +1,49 @@ +#Contributor:Andrea Tarocchi <valdar@email.it> +pkgname=cwiid-svn +#pkgver=`date +%Y%m%d` +pkgver=184 +pkgrel=2 +pkgdesc="Cwiid-svn is the bleeding edge version of a wiimote's driver and utility tools" +arch=(i686 x86_64) +url="http://abstrakraft.org/cwiid/" +license=('GPL') + +depends=('gawk' 'bluez-libs' 'gtk2') +makedepends=('subversion') +conflicts=('cwiid') +provides=('cwiid') +install=('cwiid.install') +source=() +md5sums=('b3966beecae0de200c90523af8f3bf0e') + +_svntrunk=http://abstrakraft.org/cwiid/svn/trunk/ +_svnmod=cwiid + +build() { + cd $startdir/src + + svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod + #svn co $_svntrunk --config-dir ./ $_svnmod + + msg "SVN checkout done or server timeout" + msg "Starting make..." + + cp -r $_svnmod $_svnmod-build + cd $_svnmod-build + + autoreconf + + ./configure --prefix=/usr --disable-ldconfig --sysconfdir=/etc + make + + install -d $startdir/pkg/usr/bin + install -d $startdir/pkg/etc + install -d $startdir/pkg/usr/lib + install -d $startdir/pkg/usr/include + + make prefix=$startdir/pkg/usr sysconfdir=$startdir/pkg/etc install + + install -D -m644 ./wminput/README $pkgdir/usr/share/doc/cwiid-svn/wminput + + rm -rf $startdir/src/$_svnmod-build +} |