contrib/physfs/Pkgfile
2010-03-27 23:06:51 +11:00

24 lines
551 B
Plaintext

# Description: Library to provide abstract access to various archives.
# URL: http://icculus.org/physfs/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Mark Rosenstand, mark at borkware dot net
# Depends on: ncurses readline zlib cmake
name=physfs
version=2.0.1
release=1
source=(http://icculus.org/$name/downloads/$name-$version.tar.gz)
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
}