wok-next annotate wxWidgets/receipt @ rev 20079
Up emacs (2.53)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 25 11:21:45 2017 +0200 (2017-10-25) |
parents | 30522fa01aed |
children | bce36a298f1e |
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 |
al@19779 | 13 DEPENDS="glib glibc-base gcc-lib-base 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 \ |
psychomaniak@19907 | 20 jpeg-dev xorg-libXpm-dev patch xorg-libxshmfence-dev libglu-mesa-dev" |
pankso@68 | 21 |
pankso@68 | 22 # Rules to configure and make the package. |
pankso@68 | 23 compile_rules() |
pankso@68 | 24 { |
pascal@19968 | 25 sed -i 's/.*<string>/#include <cmath>\n&/;s/(abs(/(std::abs(/' \ |
pascal@19968 | 26 src/stc/scintilla/src/Editor.cxx |
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 && |
pascal@15656 | 41 { |
slaxemulator@8744 | 42 make && |
slaxemulator@8744 | 43 make DESTDIR=$DESTDIR install |
pascal@15656 | 44 } 2>&1 | sed 's/h: No such/h: no such/' |
pankso@68 | 45 } |
pankso@68 | 46 |
pankso@68 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@68 | 48 genpkg_rules() |
pankso@68 | 49 { |
pankso@68 | 50 mkdir -p $fs/usr |
pankso@68 | 51 # Copy libs and contrib libs. |
pascal@13796 | 52 cp -a $install/usr/lib/ $fs/usr/ |
pankso@1117 | 53 # Remove devel files. |
pankso@68 | 54 rm -rf $fs/usr/lib/wx/include |
pankso@68 | 55 } |