milis/talimatname/genel/s/sfml/talimat

33 lines
801 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Sade,hızlı,çoğl platform destekli multimedya kütüphanesi
# URL: http://www.sfml-dev.org/
# Paketçi: milisarge
# Gerekler: flac freetype libjpeg-turbo libvorbis xorg-mesa openal util-linux xorg-libsm xorg-libxrandr xcb-util-image
isim=sfml
surum=2.4.2
devir=1
kaynak=(https://www.sfml-dev.org/files/SFML-$surum-sources.zip)
derle() {
cd SFML-$surum
cmake_surum=3.4
install -d build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DSFML_INSTALL_PKGCONFIG_FILES=1 \
-DSFML_BUILD_EXAMPLES=0 \
-DSFML_BUILD_DOC=0 \
make
make DESTDIR=$PKG install
install -D -m 0644 $PKG/usr/share/SFML/cmake/Modules/FindSFML.cmake \
$PKG/usr/share/cmake-$cmake_surum/Modules/FindSFML.cmake
rm -r $PKG/usr/share/SFML/{license,readme}.txt
}