milis/talimatname/genel/s/sfml/talimat

33 lines
801 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Sade,hızlı,çoğl platform destekli multimedya kütüphanesi
2017-10-15 00:00:04 +02:00
# URL: http://www.sfml-dev.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: flac freetype libjpeg-turbo libvorbis xorg-mesa openal util-linux xorg-libsm xorg-libxrandr xcb-util-image
2017-10-15 00:00:04 +02:00
2017-10-28 14:10:23 +02:00
isim=sfml
surum=2.4.2
devir=1
kaynak=(https://www.sfml-dev.org/files/SFML-$surum-sources.zip)
2017-10-15 00:00:04 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd SFML-$surum
2017-10-15 00:28:15 +02:00
cmake_surum=3.4
2017-10-15 00:00:04 +02:00
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 \
2017-10-15 00:28:15 +02:00
$PKG/usr/share/cmake-$cmake_surum/Modules/FindSFML.cmake
2017-10-15 00:00:04 +02:00
rm -r $PKG/usr/share/SFML/{license,readme}.txt
}