wok annotate wxWidgets/receipt @ rev 19204
linld/tobzimage: add realmode_switch support (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 11 20:26:42 2016 +0200 (2016-06-11) |
parents | 66a241839093 |
children | fa6488d2b1b0 |
rev | line source |
---|---|
pankso@68 | 1 # SliTaz package receipt. |
pankso@68 | 2 |
pankso@68 | 3 PACKAGE="wxWidgets" |
al@18512 | 4 VERSION="3.0.2" |
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/" |
pascal@15653 | 11 WGET_URL="$SF_MIRROR/wxwindows/$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 && |
slaxemulator@8744 | 38 make DESTDIR=$DESTDIR install && |
slaxemulator@8744 | 39 cd $src/contrib && |
pascal@15656 | 40 { |
slaxemulator@8744 | 41 make && |
slaxemulator@8744 | 42 make DESTDIR=$DESTDIR install |
pascal@15656 | 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 } |