milis/talimatname/genel/c/csfml/talimat

31 lines
641 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: sfml C kütüphanesi
# URL: https://www.sfml-dev.org/download/csfml/
# Paketçi: milisarge
# Gerekler: sfml
isim=csfml
surum=2.4
devir=1
kaynak=(https://www.sfml-dev.org/files/CSFML-$surum-sources.zip)
derle() {
cd CSFML-$surum
#sed -e 's|cmake/Config.cmake|cmake/Modules/FindSFML.cmake|' -i CMakeLists.txt
install -d build
cd build
CMAKE_MODULE_PATH="/usr/share/SFML/cmake/Modules"
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
}