wok-6.x diff wxWidgets28/receipt @ rev 21392
updated lxinput (0.3.4 -> 0.3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 22 16:11:27 2019 +0100 (2019-04-22) |
parents | |
children | 0c04fc34847a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/wxWidgets28/receipt Mon Apr 22 16:11:27 2019 +0100 1.3 @@ -0,0 +1,54 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="wxWidgets28" 1.7 +VERSION="2.8.12.1" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Cross-platform GUI Library (oldstable version)" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="LGPL" 1.12 +TARBALL="wxPython-src-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://www.wxwidgets.org/" 1.14 +WGET_URL="$SF_MIRROR/wxwindows/$TARBALL" 1.15 + 1.16 +DEPENDS="glib glibc-base gcc-lib-base libgio pkg-config expat zlib atk \ 1.17 +gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-uuid \ 1.18 +xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \ 1.19 +xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \ 1.20 +xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa" 1.21 +BUILD_DEPENDS="gtk+-dev expat-dev zlib-dev \ 1.22 +xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng-dev tiff-dev \ 1.23 +jpeg-dev xorg-libXpm-dev patch" 1.24 + 1.25 +# Rules to configure and make the package. 1.26 +compile_rules() 1.27 +{ 1.28 + sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py 1.29 + ./configure \ 1.30 + --enable-shared \ 1.31 + --enable-unicode \ 1.32 + --with-opengl \ 1.33 + --with-libpng=sys \ 1.34 + --with-libxpm=sys \ 1.35 + --with-libjpeg=sys \ 1.36 + --with-libtiff=sys \ 1.37 + --enable-graphics_ctx \ 1.38 + --enable-unicode \ 1.39 + $CONFIGURE_ARGS && 1.40 + make && 1.41 + make DESTDIR=$DESTDIR install && 1.42 + cd $src/contrib && 1.43 + { 1.44 + make && 1.45 + make DESTDIR=$DESTDIR install 1.46 + } 2>&1 | sed 's/h: No such/h: no such/' 1.47 +} 1.48 + 1.49 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.50 +genpkg_rules() 1.51 +{ 1.52 + mkdir -p $fs/usr 1.53 + # Copy libs and contrib libs. 1.54 + cp -a $install/usr/lib/ $fs/usr/ 1.55 + # Remove devel files. 1.56 + rm -rf $fs/usr/lib/wx/include 1.57 +}