milis/talimatname/genel/w/wings3d/talimat

33 lines
1.0 KiB
Plaintext
Raw Normal View History

2018-07-26 09:18:10 +02:00
# Tanım: 3 Boyutlu modelleme programı
2018-07-01 06:48:10 +02:00
# URL: http://www.wings3d.com/
# Paketçi: milisarge
# Gerekler: imagemagick desktop-file-utils erlang erlang-cl erlang-sdl erlang-wx
2018-07-26 09:18:10 +02:00
# Grup: medya tasarım
2018-07-01 06:48:10 +02:00
isim=wings3d
surum=2.1.7
devir=1
kaynak=(https://downloads.sourceforge.net/project/wings/wings/2.1.7/wings-2.1.7.tar.bz2
wings3d.sh
wings3d.desktop)
derle() {
_p=${isim%3d}-$surum
convert $_p/win32/wings.ico $isim.png
# Path fix for building wpc_lwo
ln -s $_p $_p/plugins_src/import_export/wings
ln -s $_p wings
sed -i 's/-Werror//' $_p/{src,e3d,plugins_src/import_export}/Makefile
export ESDL_PATH="$(echo /usr/lib/erlang/lib/esdl-*)"
export ERL_LIBS="$SRC"
make -C $_p all lang
install -Dm755 $isim.sh "$PKG/usr/bin/$isim"
install -Dm644 $isim.desktop \
"$PKG/usr/share/applications/$isim.desktop"
install -Dm644 $isim-3.png "$PKG/usr/share/pixmaps/$isim.png"
install -d "$PKG/usr/lib/$isim"
for subdir in e3d ebin icons plugins psd shaders src textures tools; do
cp -r $_p/$subdir/ "$PKG/usr/lib/$isim"
done
}