contrib/physfs/Pkgfile

25 lines
553 B
Plaintext
Raw Normal View History

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
2017-11-01 23:35:12 +11:00
# Depends on: cmake readline
2006-10-29 18:16:17 +01:00
name=physfs
2017-10-13 20:45:52 +11:00
version=3.0.0
2006-10-29 18:16:17 +01:00
release=1
2017-10-13 20:45:52 +11:00
source=(https://icculus.org/$name/downloads/$name-$version.tar.bz2)
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
sed -i -e 's|-Werror||' CMakeLists.txt
2009-04-04 13:19:25 +11:00
cmake \
-DPHYSFS_BUILD_STATIC=FALSE \
2017-10-13 20:45:52 +11:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DPHYSFS_BUILD_TEST=OFF.
2007-11-06 11:55:50 +11:00
2006-10-29 18:16:17 +01:00
make
make DESTDIR=$PKG install
}