milis/talimatname/genel/p/physfs/talimat

23 lines
426 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Çeşitli arşivlere soyut erişim sağlayan kütüphane
2017-04-09 19:02:44 +02:00
# URL: http://icculus.org/physfs/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cmake
2016-02-24 01:27:23 +01:00
name=physfs
2017-04-09 19:02:44 +02:00
version=2.0.3
2016-02-24 01:27:23 +01:00
release=1
2017-04-09 19:02:44 +02:00
source=(http://icculus.org/$name/downloads/$name-$version.tar.bz2)
2016-02-24 01:27:23 +01:00
build() {
2017-04-09 19:02:44 +02:00
cd $name-$version
2016-02-24 01:27:23 +01:00
2017-04-09 19:02:44 +02:00
sed -i -e 's|-Werror||' CMakeLists.txt
2016-02-24 01:27:23 +01:00
2017-04-09 19:02:44 +02:00
cmake \
-DPHYSFS_BUILD_STATIC=FALSE \
-DCMAKE_INSTALL_PREFIX=/usr .
2016-02-24 01:27:23 +01:00
2017-04-09 19:02:44 +02:00
make
make DESTDIR=$PKG install
2016-02-24 01:27:23 +01:00
}