xboxdrv: switch to build_style=scons.

This commit is contained in:
Juan RP 2015-09-05 10:27:50 +02:00
parent 05bf0ace33
commit 65bad56292

View file

@ -1,8 +1,8 @@
# Template file for 'xboxdrv'
pkgname=xboxdrv
version=0.8.5
revision=1
build_style=gnu-makefile
revision=2
build_style=scons
hostmakedepends="scons unzip pkg-config glib-devel dbus-glib-devel"
makedepends="boost-devel libX11-devel libudev-devel libusb-devel dbus-glib-devel glib-devel"
short_desc="Xbox Gamepad Userspace Driver"
@ -10,8 +10,8 @@ maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-3"
homepage="http://pingus.seul.org/~grumbel/xboxdrv/"
distfiles="https://github.com/Grumbel/${pkgname}/archive/v${version}.zip"
checksum=96247450cda3184b1cfb09e2ac8758d81c6a78271b614e645399eb2a07fd3d38
checksum=0e4c4bba089db2255f43fd1646266db99b63f9aed4d773c84bf6e39ee5a774f9
do_build() {
scons ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS"
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
}