void-packages/srcpkgs/xboxdrv/template

18 lines
678 B
Bash

# Template file for 'xboxdrv'
pkgname=xboxdrv
version=0.8.5
revision=1
build_style=gnu-makefile
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"
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
do_build() {
scons ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS"
}