DESCRIPTION="libzip is a C library for reading, creating, and modifying zip archives." 
HOMEPAGE="http://www.nih.at/libzip/" 
SOURCE_URI="http://www.nih.at/libzip/libzip-0.10.tar.bz2"
CHECKSUM_MD5="663d79a9d299a61026d1860d52cdf6fc"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
	cd libzip-0.10
	sed -i 's/MAN_PATH man/MAN_PATH documentation\/man/' man/CMakeLists.txt
	sed -i 's/DESTINATION lib\/libzip\/include/DESTINATION include/' CMakeLists.txt
	cmake .
	make
}

INSTALL()
{
	cd libzip-0.10
	make install
}

LICENSE="BSD (3-clause)"
COPYRIGHT="1999-2008 Dieter Baron and Thomas Klausner"
