milis/talimatname/genel/w/wxpython/talimat

55 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-01-03 19:44:10 +01:00
# Tanım: Python için bir wxWidgets GUI araç seti
# URL: https://www.wxpython.org
# Paketçi: Cihan_Alkan
2018-01-03 21:30:44 +01:00
# Gerekler: wxgtk libnotify python xorg-mesa xorg-glu
2018-01-03 19:44:10 +01:00
# Gruplar: kütüphane
isim=wxpython
surum=3.0.2.0
2018-01-28 08:10:54 +01:00
devir=2
2018-01-03 19:44:10 +01:00
kaynak=(https://downloads.sourceforge.net/wxpython/wxPython-src-${surum}.tar.bz2)
derle() {
2018-01-03 21:30:44 +01:00
cd wxPython-src-${surum}
CFLAGS="$CFLAGS `wx-config --cflags --libs`" \
LDFLAGS="`wx-config --libs` $LDFLAGS" \
./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
2018-01-03 19:44:10 +01:00
2018-01-03 21:30:44 +01:00
cd wxPython
python setup.py \
WXPORT=gtk2 \
UNICODE=1 \
EP_ADD_OPTS=1 \
EP_FULL_VER=0 \
NO_SCRIPTS=1 \
WX_CONFIG="wx-config --no_rpath" \
build_ext --rpath=/usr/lib \
build
python setup.py \
WXPORT=gtk2 \
UNICODE=1 \
EP_ADD_OPTS=1 \
EP_FULL_VER=0 \
NO_SCRIPTS=1 \
WX_CONFIG="wx-config --no_rpath --prefix=$PKG/usr/bin/" \
SYS_WX_CONFIG="wx-config --enable-unicode" \
build_ext --rpath=/usr/lib \
install --root=$PKG
install -Dm644 ../docs/licence.txt "${PKG}"/usr/share/licenses/${isim}/LICENSE
2018-01-03 19:44:10 +01:00
}