# Tanım: Log4j A C++ kütüphaneleri için 
# URL: http://logging.apache.org/log4cxx
# Paketçi: milisarge
# Gerekler: zip apr-util libxml2 
# Grup: kütüphane

isim=log4cxx
surum=0.10.0
devir=1
kaynak=(http://archive.apache.org/dist/logging/log4cxx/${surum}/apache-log4cxx-${surum}.tar.gz
		log4cxx-${surum}-missing_includes.patch
		log4cxx-${surum}-narrowing-fixes-from-upstream.patch)

derle() {
	cd "$SRC/apache-$isim-$surum"
	patch -p1 < $SRC/log4cxx-0.10.0-missing_includes.patch
	patch -p1 < $SRC/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch
	#./autogen.sh
	./configure --prefix=/usr --disable-static
	make
	make DESTDIR="$PKG/" install
}
