wok-6.x annotate wxWidgets/receipt @ rev 23740
updated xa (2.3.9 -> 2.3.10)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 01 11:08:45 2020 +0100 (2020-05-01) |
parents | c72a5be583f4 |
children | a0280eae1832 |
rev | line source |
---|---|
pankso@68 | 1 # SliTaz package receipt. |
pankso@68 | 2 |
pankso@68 | 3 PACKAGE="wxWidgets" |
Hans-G?nter@23738 | 4 VERSION="3.1.3" |
pankso@209 | 5 CATEGORY="x-window" |
Hans-G?nter@23738 | 6 SHORT_DESC="Cross-platform GUI Library." |
pankso@68 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15601 | 8 LICENSE="LGPL" |
Hans-G?nter@23738 | 9 WEB_SITE="https://www.wxwidgets.org/" |
Hans-G?nter@23738 | 10 |
al@18512 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@23738 | 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
pascal@13796 | 13 |
Hans-G?nter@23738 | 14 DEPENDS="atk cairo expat fontconfig freetype gcc-lib-base glib glibc-base |
Hans-G?nter@23738 | 15 gtk+ jpeg libgio libglu-mesa libpng mesa pango pixman pkg-config |
Hans-G?nter@23738 | 16 tiff util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 xorg-libXau |
Hans-G?nter@23738 | 17 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp |
Hans-G?nter@23738 | 18 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender |
Hans-G?nter@23738 | 19 xorg-libXxf86vm zlib" |
Hans-G?nter@23738 | 20 BUILD_DEPENDS="expat-dev gtk+-dev jpeg-dev libglu-mesa libpng-dev mesa-dev |
Hans-G?nter@23738 | 21 tiff-dev xorg-dev xorg-libXpm-dev xorg-xineramaproto zlib-dev" |
pankso@68 | 22 |
pankso@68 | 23 # Rules to configure and make the package. |
pankso@68 | 24 compile_rules() |
pankso@68 | 25 { |
al@18512 | 26 # sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py |
Hans-G?nter@23738 | 27 |
Hans-G?nter@23738 | 28 ./configure \ |
Hans-G?nter@23738 | 29 --enable-shared \ |
Hans-G?nter@23738 | 30 --enable-unicode \ |
Hans-G?nter@23738 | 31 --with-opengl \ |
Hans-G?nter@23738 | 32 --with-libpng=sys \ |
Hans-G?nter@23738 | 33 --with-libxpm=sys \ |
Hans-G?nter@23738 | 34 --with-libjpeg=sys \ |
Hans-G?nter@23738 | 35 --with-libtiff=sys \ |
Hans-G?nter@23738 | 36 --enable-graphics_ctx \ |
Hans-G?nter@23738 | 37 --enable-unicode \ |
slaxemulator@10063 | 38 $CONFIGURE_ARGS && |
slaxemulator@8539 | 39 make && |
pascal@21611 | 40 make DESTDIR=$DESTDIR install |
maniac@21610 | 41 # cd $src/contrib && |
maniac@21610 | 42 # { |
maniac@21610 | 43 # make && |
maniac@21610 | 44 # make DESTDIR=$DESTDIR install |
maniac@21610 | 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 |
Hans-G?nter@23738 | 52 |
Hans-G?nter@23738 | 53 # Copy libraries and contrib libraries. |
Hans-G?nter@23738 | 54 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23738 | 55 |
Hans-G?nter@23738 | 56 # Remove development files. |
Hans-G?nter@23738 | 57 rm -rf $fs/usr/lib/wx/include |
pankso@68 | 58 } |