wok annotate wxWidgets/receipt @ rev 15139

mlt-python-bindings: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 11:27:14 2013 +0000 (2013-08-15)
parents 8c33edd9232d
children 23c3aed67cd9
rev   line source
pankso@68 1 # SliTaz package receipt.
pankso@68 2
pankso@68 3 PACKAGE="wxWidgets"
pascal@12399 4 VERSION="2.8.12.1"
pankso@209 5 CATEGORY="x-window"
pankso@68 6 SHORT_DESC="Cross-platform GUI Library"
pankso@68 7 MAINTAINER="pankso@slitaz.org"
pascal@13796 8 SOURCE="wxPython"
pascal@13796 9 TARBALL="$SOURCE-src-$VERSION.tar.bz2"
pascal@13796 10 WEB_SITE="http://www.wxwidgets.org/"
pascal@13796 11 WGET_URL="$SF_MIRROR/wxpython/$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"
rcx@3289 18 BUILD_DEPENDS="pkg-config gtk+ 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 {
pankso@68 25 cd $src
pascal@14431 26 sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py
slaxemulator@8744 27 ./configure \
pankso@68 28 --enable-shared \
slaxemulator@10063 29 --enable-unicode \
slaxemulator@12324 30 --with-opengl \
slaxemulator@12324 31 --with-libpng=sys \
slaxemulator@12324 32 --with-libxpm=sys \
slaxemulator@12324 33 --with-libjpeg=sys \
slaxemulator@12324 34 --with-libtiff=sys \
pascal@14413 35 --enable-graphics_ctx \
pascal@14413 36 --enable-unicode \
slaxemulator@10063 37 $CONFIGURE_ARGS &&
slaxemulator@8539 38 make &&
slaxemulator@8744 39 make DESTDIR=$DESTDIR install &&
slaxemulator@8744 40 cd $src/contrib &&
slaxemulator@8744 41 make &&
slaxemulator@8744 42 make DESTDIR=$DESTDIR install
pankso@68 43 }
pankso@68 44
pankso@68 45 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@68 46 genpkg_rules()
pankso@68 47 {
pankso@68 48 mkdir -p $fs/usr
pankso@68 49 # Copy libs and contrib libs.
pascal@13796 50 cp -a $install/usr/lib/ $fs/usr/
pankso@1117 51 # Remove devel files.
pankso@68 52 rm -rf $fs/usr/lib/wx/include
pankso@68 53 }