[paket]
tanim   = Konsol ve xterm için fare sunucusu.
paketci = Cihan_Alkan
grup 	= sistem
url     = http://unix.schottelius.org/gpm

[gerek]
derleme = xmlto docbook-xml docbook-xsl
calisma = 

[kaynak]
dosya = 0001-glibc-sigemptyset.patch
1 = https://github.com/telmich/gpm/archive/master.zip

[sha1]
1 		= 

[derle]
betik = cd gpm-master
betik = patch -Np1 < ../0001-glibc-sigemptyset.patch
betik = sed -i -e 's:<gpm.h>:"headers/gpm.h":' src/prog/{display-buttons,display-coords,get-versions}.c
betik = ./autogen.sh
betik = ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --disable-gtk-doc
betik = make
	      
[pakur]
betik = cd gpm-master
tip = gnu
betik = cd "${PKG}/usr/lib/"
betik = ln -sv libgpm.so.2.1.0 $PKG/usr/lib/libgpm.so.1
betik = ln -sv libgpm.so.2.1.0 $PKG/usr/lib/libgpm.so
betik = chmod 0755 "${PKG}"/usr/lib/libgpm.so.*