summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/cwiid-git
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-04 02:01:36 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-04 02:01:36 (GMT)
commit8e3741f0c4809be53dd3eb06ad47bd9ee85d74ef (patch)
tree7b2295ff6ca4dbacf71ff5ebb86c8a4643d39570 /abs/extra/community/cwiid-git
parent3fe25cca904a12b402fe678a85c2e44a7219f8ca (diff)
downloadlinhes_pkgbuild-8e3741f0c4809be53dd3eb06ad47bd9ee85d74ef.zip
linhes_pkgbuild-8e3741f0c4809be53dd3eb06ad47bd9ee85d74ef.tar.gz
linhes_pkgbuild-8e3741f0c4809be53dd3eb06ad47bd9ee85d74ef.tar.bz2
cwiid-git: upgrade (needs testing)
Diffstat (limited to 'abs/extra/community/cwiid-git')
-rw-r--r--abs/extra/community/cwiid-git/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/abs/extra/community/cwiid-git/PKGBUILD b/abs/extra/community/cwiid-git/PKGBUILD
index 909f224..b87571a 100644
--- a/abs/extra/community/cwiid-git/PKGBUILD
+++ b/abs/extra/community/cwiid-git/PKGBUILD
@@ -1,14 +1,14 @@
#Contributor:Andrea Tarocchi <valdar@email.it>
pkgname=cwiid-git
#pkgver=`date +%Y%m%d`
-pkgver=20100716
+pkgver=20101204
pkgrel=1
pkgdesc="Cwiid-git is the bleeding edge version of a wiimote's driver and utility tools"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://github.com/abstrakraft/cwiid"
license=('GPL')
-depends=('bluez>=4' 'gtk2' 'python')
+depends=('bluez>=4' 'gtk2' 'python2')
makedepends=('git' 'make' 'automake' 'autoconf')
replaces=('cwiid' 'cwiid-svn')
provides=('cwiid' 'cwiid-git')
@@ -21,7 +21,7 @@ _builddir=$srcdir/$_gitname-build
build() {
- export LDFLAGS=
+ export LDFLAGS=""
cd $srcdir/
msg "Connecting to github.com GIT server...."
@@ -40,9 +40,13 @@ build() {
aclocal
autoreconf
- ./configure --prefix=/usr --sysconfdir=/etc --disable-ldconfig
+ ./configure --prefix=/usr --sysconfdir=/etc --with-python=python`python2 --version 2>&1 | cut -d ' ' -f2` --disable-ldconfig
make || return 1
+}
+
+package() {
+ cd ${_builddir}
make DESTDIR="${pkgdir}" install || return 1
# aclocal