# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
setvar pkgname = 'libfilezilla'
setvar pkgver = '0.11.0'
setvar pkgrel = '0'
setvar pkgdesc = ""C++ library, offering some basic functionality to build high-performing, platform-independent programs""
setvar url = ""http://filezilla-project.org""
setvar arch = ""all""
setvar license = ""GPL2""
setvar makedepends = ""cppunit-dev""
setvar subpackages = ""$pkgname-dev""
setvar source = ""http://download.filezilla-project.org/libfilezilla/libfilezilla-$pkgver.tar.bz2""
setvar builddir = ""$srcdir"/$pkgname-$pkgver"

proc build {
	cd $builddir
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

proc package {
	cd $builddir
	make DESTDIR="$pkgdir" install
}

proc check {
	cd $builddir
	make check
}

setvar sha512sums = ""aa5356a8fbb9488072c9d32c7ab2de51de426a97cb30ec8b07c9e55bca351f82d8c4879f413aae05d5a2602bb153c0832f6bd7a71b8510a4957bafe9926d1d19  libfilezilla-0.11.0.tar.bz2""