wok-current annotate wxWidgets28/receipt @ rev 19759
libwnck3, thunar-volman: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 10:13:00 2017 +0100 (2017-02-19) |
parents | |
children | 0c04fc34847a |
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@18521 | 13 DEPENDS="glib glibc-base gcc-lib-base libgio 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 \ |
al@18521 | 20 jpeg-dev xorg-libXpm-dev patch" |
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 |
al@18521 | 26 ./configure \ |
al@18521 | 27 --enable-shared \ |
al@18521 | 28 --enable-unicode \ |
al@18521 | 29 --with-opengl \ |
al@18521 | 30 --with-libpng=sys \ |
al@18521 | 31 --with-libxpm=sys \ |
al@18521 | 32 --with-libjpeg=sys \ |
al@18521 | 33 --with-libtiff=sys \ |
al@18521 | 34 --enable-graphics_ctx \ |
al@18521 | 35 --enable-unicode \ |
al@18521 | 36 $CONFIGURE_ARGS && |
al@18521 | 37 make && |
al@18521 | 38 make DESTDIR=$DESTDIR install && |
al@18521 | 39 cd $src/contrib && |
al@18521 | 40 { |
al@18521 | 41 make && |
al@18521 | 42 make DESTDIR=$DESTDIR install |
al@18521 | 43 } 2>&1 | sed 's/h: No such/h: no such/' |
al@18521 | 44 } |
al@18521 | 45 |
al@18521 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18521 | 47 genpkg_rules() |
al@18521 | 48 { |
al@18521 | 49 mkdir -p $fs/usr |
al@18521 | 50 # Copy libs and contrib libs. |
al@18521 | 51 cp -a $install/usr/lib/ $fs/usr/ |
al@18521 | 52 # Remove devel files. |
al@18521 | 53 rm -rf $fs/usr/lib/wx/include |
al@18521 | 54 } |