milis/talimatname/genel/w/wxpython/talimat

35 lines
978 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: Python için bir wxWidgets GUI araç seti
# URL: https://www.wxpython.org
# Paketçi: Cihan_Alkan
# Gerekler: wxgtk28 python xorg-mesa xorg-glu
# Gruplar: kütüphane
isim=wxpython
surum=3.0.2.0
devir=1
kaynak=(https://downloads.sourceforge.net/wxpython/wxPython-src-${surum}.tar.bz2)
derle() {
cd wxPython-src-${surum}
CFLAGS="$CFLAGS -I/usr/include/wx-2.8" ./configure \
--prefix=/usr \
--libdir=/usr/lib \
--includedir=/usr/include \
--with-gtk=2 \
--with-opengl \
--enable-unicode \
--enable-graphics_ctx \
--disable-precomp-headers \
--with-regex=sys \
--with-libpng=sys \
--with-libxpm=sys \
--with-libjpeg=sys \
--with-libtiff=sys
cd wxPython
python setup.py WXPORT=gtk2 UNICODE=1 build
python setup.py WXPORT=gtk2 UNICODE=1 install --root="${PKG}"
install -Dm644 ../docs/licence.txt "${PKG}"/usr/share/licenses/${isim}/LICENSE
}