wok-next annotate wxWidgets/receipt @ rev 18042
ppp/ppp.cgi: misc fixes
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 11 16:08:11 2015 +0200 (2015-05-11) |
parents | b77265b15fb6 |
children | a7d92d7d3d4f |
rev | line source |
---|---|
pankso@68 | 1 # SliTaz package receipt. |
pankso@68 | 2 |
pankso@68 | 3 PACKAGE="wxWidgets" |
pascal@15656 | 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@15601 | 8 LICENSE="LGPL" |
pascal@15656 | 9 SOURCE="wxPython" |
pascal@15656 | 10 TARBALL="$SOURCE-src-$VERSION.tar.bz2" |
pascal@13796 | 11 WEB_SITE="http://www.wxwidgets.org/" |
pascal@15653 | 12 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL" |
pascal@13796 | 13 |
rcx@3289 | 14 DEPENDS="glib glibc-base gcc-lib-base libgio pkg-config expat zlib atk \ |
pankso@12481 | 15 gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-uuid \ |
rcx@3289 | 16 xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \ |
slaxemulator@12324 | 17 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \ |
slaxemulator@12324 | 18 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa" |
rcx@3289 | 19 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev expat-dev zlib-dev \ |
slaxemulator@12324 | 20 xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng-dev tiff-dev \ |
slaxemulator@12324 | 21 jpeg-dev xorg-libXpm-dev patch" |
pankso@68 | 22 |
pankso@68 | 23 # Rules to configure and make the package. |
pankso@68 | 24 compile_rules() |
pankso@68 | 25 { |
pankso@68 | 26 cd $src |
pascal@15656 | 27 sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py |
slaxemulator@8744 | 28 ./configure \ |
pankso@68 | 29 --enable-shared \ |
slaxemulator@10063 | 30 --enable-unicode \ |
slaxemulator@12324 | 31 --with-opengl \ |
slaxemulator@12324 | 32 --with-libpng=sys \ |
slaxemulator@12324 | 33 --with-libxpm=sys \ |
slaxemulator@12324 | 34 --with-libjpeg=sys \ |
slaxemulator@12324 | 35 --with-libtiff=sys \ |
pascal@14413 | 36 --enable-graphics_ctx \ |
pascal@14413 | 37 --enable-unicode \ |
slaxemulator@10063 | 38 $CONFIGURE_ARGS && |
slaxemulator@8539 | 39 make && |
slaxemulator@8744 | 40 make DESTDIR=$DESTDIR install && |
slaxemulator@8744 | 41 cd $src/contrib && |
pascal@15656 | 42 { |
slaxemulator@8744 | 43 make && |
slaxemulator@8744 | 44 make DESTDIR=$DESTDIR install |
pascal@15656 | 45 } 2>&1 | sed 's/h: No such/h: no such/' |
pankso@68 | 46 } |
pankso@68 | 47 |
pankso@68 | 48 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@68 | 49 genpkg_rules() |
pankso@68 | 50 { |
pankso@68 | 51 mkdir -p $fs/usr |
pankso@68 | 52 # Copy libs and contrib libs. |
pascal@13796 | 53 cp -a $install/usr/lib/ $fs/usr/ |
pankso@1117 | 54 # Remove devel files. |
pankso@68 | 55 rm -rf $fs/usr/lib/wx/include |
pankso@68 | 56 } |