#Maintainer: Dimitris Tzemos <djemos~at~slackel~dot~gr>

pkgname=qastools
pkgver=0.17.2
pkgrel=1dj
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgver/${pkgname}_$pkgver.tar.xz")
docs=()
url="http://www.xwmw.org/qastools/"


slackdesc=\
(
 #|-----handy-ruler------------------------------------------------------|
"qastools (alsa desktop utilities)"
"QasTools is a collection of desktop applications for the linux"
"alsa sound system:"
"- QasMixer: mixer for alsa's Simple Mixer Interfaces."
"- QasHctl: mixer for alsa's High level Control Interface."
"- QasConfig: browser for the alsa configuration tree."
""
"Homepage: http://xwmw.org/qastools/Volume manager for ALSA in Qt."

)

build() {
	cd "$SRC/${pkgname}_$pkgver"
	mkdir -p build || return 1
	cd build || return 1
	cmake \
    -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release .. || return 1
	make  || return 1
	make install DESTDIR=$PKG || return 1
}
