# Description: Çeşitli arşivlere soyut erişim sağlayan kütüphane
# URL: http://icculus.org/physfs/
# Packager: milisarge
# Depends on: cmake

name=physfs
version=2.0.3
release=1
source=(http://icculus.org/$name/downloads/$name-$version.tar.bz2)

build() {
	cd $name-$version

	sed -i -e 's|-Werror||' CMakeLists.txt

	cmake \
		-DPHYSFS_BUILD_STATIC=FALSE \
		-DCMAKE_INSTALL_PREFIX=/usr .

	make
	make DESTDIR=$PKG install
}