wok-next annotate wxWidgets28/receipt @ rev 19942
efl, evas, wxWidgets28: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 22:30:12 2017 +0200 (2017-10-15) |
parents | 30522fa01aed |
children | bce36a298f1e |
rev | line source |
---|---|
al@18521 | 1 # SliTaz package receipt. |
al@18521 | 2 |
al@18521 | 3 PACKAGE="wxWidgets28" |
al@18521 | 4 VERSION="2.8.12.1" |
al@18521 | 5 CATEGORY="x-window" |
al@18521 | 6 SHORT_DESC="Cross-platform GUI Library (oldstable version)" |
al@18521 | 7 MAINTAINER="pankso@slitaz.org" |
al@18521 | 8 LICENSE="LGPL" |
al@18521 | 9 TARBALL="wxPython-src-$VERSION.tar.bz2" |
al@18521 | 10 WEB_SITE="http://www.wxwidgets.org/" |
al@18521 | 11 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL" |
al@18521 | 12 |
al@19779 | 13 DEPENDS="glib glibc-base gcc-lib-base pkg-config expat zlib atk \ |
al@18521 | 14 gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-uuid \ |
al@18521 | 15 xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \ |
al@18521 | 16 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \ |
al@18521 | 17 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa" |
al@18521 | 18 BUILD_DEPENDS="gtk+-dev expat-dev zlib-dev \ |
al@18521 | 19 xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng-dev tiff-dev \ |
psychomaniak@19907 | 20 jpeg-dev xorg-libXpm-dev patch xorg-libxshmfence-dev libglu-mesa-dev" |
al@18521 | 21 |
al@18521 | 22 # Rules to configure and make the package. |
al@18521 | 23 compile_rules() |
al@18521 | 24 { |
al@18521 | 25 sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py |
pascal@19942 | 26 export CXXFLAGS="-Wno-narrowing" |
al@18521 | 27 ./configure \ |
al@18521 | 28 --enable-shared \ |
al@18521 | 29 --enable-unicode \ |
al@18521 | 30 --with-opengl \ |
al@18521 | 31 --with-libpng=sys \ |
al@18521 | 32 --with-libxpm=sys \ |
al@18521 | 33 --with-libjpeg=sys \ |
al@18521 | 34 --with-libtiff=sys \ |
al@18521 | 35 --enable-graphics_ctx \ |
al@18521 | 36 --enable-unicode \ |
al@18521 | 37 $CONFIGURE_ARGS && |
al@18521 | 38 make && |
al@18521 | 39 make DESTDIR=$DESTDIR install && |
al@18521 | 40 cd $src/contrib && |
al@18521 | 41 { |
al@18521 | 42 make && |
al@18521 | 43 make DESTDIR=$DESTDIR install |
al@18521 | 44 } 2>&1 | sed 's/h: No such/h: no such/' |
al@18521 | 45 } |
al@18521 | 46 |
al@18521 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18521 | 48 genpkg_rules() |
al@18521 | 49 { |
al@18521 | 50 mkdir -p $fs/usr |
al@18521 | 51 # Copy libs and contrib libs. |
al@18521 | 52 cp -a $install/usr/lib/ $fs/usr/ |
al@18521 | 53 # Remove devel files. |
al@18521 | 54 rm -rf $fs/usr/lib/wx/include |
al@18521 | 55 } |