### this file is sourced not run
PKGVER=1.7.0
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=linuxconsoletools-1.7.0.tar.bz2
MD5SUM=b30c4daa2329d9af316045657370ee27
SRC_URL=http://downloads.sourceforge.net/linuxconsole/$TARBALL
BUNDLE=

SLACKREQ='libSDL2'
SLACKDESC="linux-console-tools: linux-console-tools $PKGVER (Game console tools)
linux-console-tools: 
linux-console-tools: This is the Linux Console tools, which include utilities to test and 
linux-console-tools: configure joysticks, connect legacy devices to the kernel's input 
linux-console-tools: subsystem (providing support for serial mice, touchscreens etc.), and 
linux-console-tools: test the input event layer. The word 'console' here refers to 'gaming 
linux-console-tools: console' and not the usual 'computer console'.
linux-console-tools: 
linux-console-tools: https://sourceforge.net/projects/linuxconsole/
linux-console-tools: 
linux-console-tools: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/linuxconsole* &&

	sed -i -e "s|/lib/|/$LIBDIR/|" utils/Makefile &&
	make -C utils install PREFIX=/usr &&
	make -C docs install PREFIX=/usr  &&
	
	pkg_build_slackdesc
}


