wok-6.x diff wxWidgets28/receipt @ rev 19397

Up brotli (0.5.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 13:32:28 2016 +0200 (2016-09-02)
parents
children 0c04fc34847a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wxWidgets28/receipt	Fri Sep 02 13:32:28 2016 +0200
     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 +}