supertuxkart.paketlendi
This commit is contained in:
parent
653d1d027d
commit
6046edf59b
1 changed files with 30 additions and 0 deletions
30
talimatname/genel/supertuxkart/talimat
Normal file
30
talimatname/genel/supertuxkart/talimat
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Description: 3D kart yarış oyunu
|
||||||
|
# URL: http://supertuxkart.sourceforge.net/
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on: cmake setconf bluez subversion xorg-mesa imagemagick openal libvorbis fribidi xorg-libxrandr xorg-glu
|
||||||
|
|
||||||
|
name=supertuxkart
|
||||||
|
version=0.9.2
|
||||||
|
release=1
|
||||||
|
source=(http://downloads.sourceforge.net/$name/$name-$version-src.tar.xz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${SRC}/supertuxkart-${version}
|
||||||
|
|
||||||
|
_fn="data/${name}.desktop"
|
||||||
|
setconf "$_fn" Exec "$name"
|
||||||
|
setconf "$_fn" TryExec "$name"
|
||||||
|
setconf "$_fn" Icon "$name"_128
|
||||||
|
|
||||||
|
[[ -d build ]] && rm -r build
|
||||||
|
mkdir build && cd build
|
||||||
|
|
||||||
|
cmake .. \
|
||||||
|
-DIRRLICHT_DIR="$SRC/irrlicht" \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_CXX_FLAGS="-lpthread -lm -ldl $CXXFLAGS -std=gnu++98"
|
||||||
|
|
||||||
|
make
|
||||||
|
make DESTDIR=${PKG} install
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue