wok annotate wxWidgets/receipt @ rev 24650
updated htop (2.2.0 -> 3.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 16:26:13 2022 +0100 (2022-03-10) |
parents | a0280eae1832 |
children | 6f116ab3c078 |
rev | line source |
---|---|
pankso@68 | 1 # SliTaz package receipt. |
pankso@68 | 2 |
pankso@68 | 3 PACKAGE="wxWidgets" |
mojo@23768 | 4 VERSION="3.0.4" |
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 |
pascal@24055 | 23 current_version() |
pascal@24055 | 24 { |
pascal@24055 | 25 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 26 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 27 } |
pascal@24055 | 28 |
pankso@68 | 29 # Rules to configure and make the package. |
pankso@68 | 30 compile_rules() |
pankso@68 | 31 { |
al@18512 | 32 # sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py |
Hans-G?nter@23738 | 33 |
Hans-G?nter@23738 | 34 ./configure \ |
Hans-G?nter@23738 | 35 --enable-shared \ |
Hans-G?nter@23738 | 36 --enable-unicode \ |
Hans-G?nter@23738 | 37 --with-opengl \ |
Hans-G?nter@23738 | 38 --with-libpng=sys \ |
Hans-G?nter@23738 | 39 --with-libxpm=sys \ |
Hans-G?nter@23738 | 40 --with-libjpeg=sys \ |
Hans-G?nter@23738 | 41 --with-libtiff=sys \ |
Hans-G?nter@23738 | 42 --enable-graphics_ctx \ |
Hans-G?nter@23738 | 43 --enable-unicode \ |
slaxemulator@10063 | 44 $CONFIGURE_ARGS && |
slaxemulator@8539 | 45 make && |
pascal@21611 | 46 make DESTDIR=$DESTDIR install |
maniac@21610 | 47 # cd $src/contrib && |
maniac@21610 | 48 # { |
maniac@21610 | 49 # make && |
maniac@21610 | 50 # make DESTDIR=$DESTDIR install |
maniac@21610 | 51 # } 2>&1 | sed 's/h: No such/h: no such/' |
pankso@68 | 52 } |
pankso@68 | 53 |
pankso@68 | 54 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@68 | 55 genpkg_rules() |
pankso@68 | 56 { |
pankso@68 | 57 mkdir -p $fs/usr |
Hans-G?nter@23738 | 58 |
Hans-G?nter@23738 | 59 # Copy libraries and contrib libraries. |
Hans-G?nter@23738 | 60 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23738 | 61 |
Hans-G?nter@23738 | 62 # Remove development files. |
Hans-G?nter@23738 | 63 rm -rf $fs/usr/lib/wx/include |
pankso@68 | 64 } |