# SliTaz package receipt.

PACKAGE="openspades"
VERSION="0.0.12"
CATEGORY="games"
SHORT_DESC="Compatible client of Ace of Spades 0.75"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="GPL3"
WEB_SITE="http://openspades.yvt.jp/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/yvt/openspades/archive/v$VERSION.tar.gz"

DEPENDS=""
BUILD_DEPENDS="cmake libsdl2-dev libsdl2-image-dev freealut-dev \
mesa-dev glew-dev curl-dev imagemagick grep unzip"

# Rules to configure and make the package.
compile_rules()
{
	mkdir build; cd build
	cmake .. -DCMAKE_BUILD_TYPE=Release && make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cp -a $install/* $fs
}