# Tanım: X için bir görüntü programı
# URL: https://www.x.org/wiki/
# Paketçi: milisarge
# Gerekler: xorg-libxext libpng libjpeg-turbo 
# Grup: sistem

isim=xli
surum=1
devir=1

kaynak=(ftp://ftp.x.org/contrib/applications/xli.1.16.tar.gz
	http://downloads.nutyx.org/files/patchs/$isim/xli-1.16-makefile-1.patch)
derle() {
sed -i "s/varargs/stdarg/" rlelib.c
mv Makefile{.std,}
patch -Np0 -i xli-1.16-makefile-1.patch
make
mkdir -p $PKG/usr{/bin,/lib/X11,/share/man/man3}
make DESTDIR=$PKG/usr install
for MANUAL in xli xliguide xlito
	do install -m644 $MANUAL.man  $PKG/usr/share/man/man3/$MANUAL.3
done
}
