milis/talimatname/genel/c/csfml/talimat

32 lines
661 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: sfml C kütüphanesi
2017-10-15 00:16:03 +02:00
# URL: https://www.sfml-dev.org/download/csfml/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: sfml
2018-08-17 13:26:22 +02:00
# Grup: kütüphane
2017-10-15 00:16:03 +02:00
2017-10-28 14:10:23 +02:00
isim=csfml
surum=2.4
devir=1
kaynak=(https://www.sfml-dev.org/files/CSFML-$surum-sources.zip)
2017-10-15 00:16:03 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd CSFML-$surum
2017-10-15 00:16:03 +02:00
2017-10-15 00:28:15 +02:00
#sed -e 's|cmake/Config.cmake|cmake/Modules/FindSFML.cmake|' -i CMakeLists.txt
2017-10-15 00:16:03 +02:00
install -d build
cd build
2017-10-15 00:28:15 +02:00
CMAKE_MODULE_PATH="/usr/share/SFML/cmake/Modules"
2017-10-15 00:16:03 +02:00
cmake .. \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DSFML_BUILD_DOC=0
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/CSFML/{license,readme}.txt
rmdir $PKG/usr/share/CSFML
rmdir $PKG/usr/share
}