wok-6.x annotate wxWidgets/receipt @ rev 23190

updated mpc (0.31 -> 0.33)
author Hans-G?nter Theisgen
date Fri Mar 20 09:22:39 2020 +0100 (2020-03-20)
parents 25a18b94dcb7
children 21b04fb54b67
rev   line source
pankso@68 1 # SliTaz package receipt.
pankso@68 2
pankso@68 3 PACKAGE="wxWidgets"
maniac@21609 4 VERSION="3.0.4"
pankso@209 5 CATEGORY="x-window"
pankso@68 6 SHORT_DESC="Cross-platform GUI Library"
pankso@68 7 MAINTAINER="pankso@slitaz.org"
pascal@15601 8 LICENSE="LGPL"
al@18512 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13796 10 WEB_SITE="http://www.wxwidgets.org/"
maniac@21609 11 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$TARBALL"
pascal@13796 12
rcx@3289 13 DEPENDS="glib glibc-base gcc-lib-base libgio pkg-config expat zlib atk \
pankso@12481 14 gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-uuid \
rcx@3289 15 xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \
slaxemulator@12324 16 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \
slaxemulator@12324 17 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa"
al@18512 18 BUILD_DEPENDS="gtk+-dev expat-dev zlib-dev \
slaxemulator@12324 19 xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng-dev tiff-dev \
slaxemulator@12324 20 jpeg-dev xorg-libXpm-dev patch"
pankso@68 21
pankso@68 22 # Rules to configure and make the package.
pankso@68 23 compile_rules()
pankso@68 24 {
al@18512 25 # sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py
slaxemulator@8744 26 ./configure \
pankso@68 27 --enable-shared \
slaxemulator@10063 28 --enable-unicode \
slaxemulator@12324 29 --with-opengl \
slaxemulator@12324 30 --with-libpng=sys \
slaxemulator@12324 31 --with-libxpm=sys \
slaxemulator@12324 32 --with-libjpeg=sys \
slaxemulator@12324 33 --with-libtiff=sys \
pascal@14413 34 --enable-graphics_ctx \
pascal@14413 35 --enable-unicode \
slaxemulator@10063 36 $CONFIGURE_ARGS &&
slaxemulator@8539 37 make &&
pascal@21611 38 make DESTDIR=$DESTDIR install
maniac@21610 39 # cd $src/contrib &&
maniac@21610 40 # {
maniac@21610 41 # make &&
maniac@21610 42 # make DESTDIR=$DESTDIR install
maniac@21610 43 # } 2>&1 | sed 's/h: No such/h: no such/'
pankso@68 44 }
pankso@68 45
pankso@68 46 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@68 47 genpkg_rules()
pankso@68 48 {
pankso@68 49 mkdir -p $fs/usr
pankso@68 50 # Copy libs and contrib libs.
pascal@13796 51 cp -a $install/usr/lib/ $fs/usr/
pankso@1117 52 # Remove devel files.
pankso@68 53 rm -rf $fs/usr/lib/wx/include
pankso@68 54 }