physfs.paketlendi

This commit is contained in:
milisarge 2017-04-09 20:02:44 +03:00
parent 859257fbc4
commit ff6d626a61
1 changed files with 12 additions and 17 deletions

View File

@ -1,27 +1,22 @@
# URL: http://www.icculus.org/physfs/
# Packager: berlius at nutyx dot com
# Description: Çeşitli arşivlere soyut erişim sağlayan kütüphane
# URL: http://icculus.org/physfs/
# Packager: milisarge
# Depends on: cmake
description="Lib use in video games, and the design was somewhat inspired by Quake 3's file subsystem"
name=physfs
version=2.0.0
version=2.0.3
release=1
source=(http://www.icculus.org/physfs/downloads/$name-$version.tar.gz)
source=(http://icculus.org/$name/downloads/$name-$version.tar.bz2)
build() {
cd $name-$version
cd $name-$version
sed -i -e 's|-Werror||' CMakeLists.txt
sed -i -e 's|-Werror||' CMakeLists.txt
cmake \
-DPHYSFS_BUILD_STATIC=FALSE \
-DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=$PKG install
cmake \
-DPHYSFS_BUILD_STATIC=FALSE \
-DCMAKE_INSTALL_PREFIX=/usr .
make
make DESTDIR=$PKG install
}