2007-09-13 00:13:05 +10:00
|
|
|
# Description: Library to provide abstract access to various archives.
|
|
|
|
# URL: http://icculus.org/physfs/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2007-09-13 00:13:05 +10:00
|
|
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
2011-10-28 00:58:38 +11:00
|
|
|
# Depends on: cmake readline zlib
|
2006-10-29 18:16:17 +01:00
|
|
|
|
|
|
|
name=physfs
|
2011-10-28 00:58:38 +11:00
|
|
|
version=2.0.2
|
2006-10-29 18:16:17 +01:00
|
|
|
release=1
|
2009-04-04 13:19:25 +11:00
|
|
|
source=(http://icculus.org/$name/downloads/$name-$version.tar.gz)
|
2006-10-29 18:16:17 +01:00
|
|
|
|
|
|
|
build() {
|
2009-04-04 13:19:25 +11:00
|
|
|
cd $name-$version
|
2007-11-06 11:55:50 +11:00
|
|
|
|
2009-10-19 23:04:31 +11:00
|
|
|
sed -i -e 's|-Werror||' CMakeLists.txt
|
|
|
|
|
2009-04-04 13:19:25 +11:00
|
|
|
cmake \
|
|
|
|
-DPHYSFS_BUILD_STATIC=FALSE \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr .
|
2007-11-06 11:55:50 +11:00
|
|
|
|
2006-10-29 18:16:17 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|