# Tanım: Encoding detector library ported from Mozilla
# URL: https://www.freedesktop.org/wiki/Software/uchardet
# Paketçi: milisarge
# Gerekler: cmake 

isim=uchardet
surum=0.0.6
devir=1
kaynak=(https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.6.tar.xz
)

derle() {
	cd ${isim}-${surum}
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_BUILD_TYPE=Release
	make
	make DESTDIR="${PKG}/" install
}
