wok annotate wxWidgets/receipt @ rev 13865
Wine-RT update to version 1.5.21
author | xjjx <xj@wp.pl> |
---|---|
date | Sun Jan 13 18:11:43 2013 +0000 (2013-01-13) |
parents | 73641efed1cc |
children | 8c33edd9232d |
rev | line source |
---|---|
pankso@68 | 1 # SliTaz package receipt. |
pankso@68 | 2 |
pankso@68 | 3 PACKAGE="wxWidgets" |
pascal@12399 | 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@13796 | 8 SOURCE="wxPython" |
pascal@13796 | 9 TARBALL="$SOURCE-src-$VERSION.tar.bz2" |
pascal@13796 | 10 WEB_SITE="http://www.wxwidgets.org/" |
pascal@13796 | 11 WGET_URL="$SF_MIRROR/wxpython/$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" |
rcx@3289 | 18 BUILD_DEPENDS="pkg-config gtk+ 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 { |
pankso@68 | 25 cd $src |
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 \ |
slaxemulator@10063 | 34 $CONFIGURE_ARGS && |
slaxemulator@8539 | 35 make && |
slaxemulator@8744 | 36 make DESTDIR=$DESTDIR install && |
slaxemulator@8744 | 37 cd $src/contrib && |
slaxemulator@8744 | 38 make && |
slaxemulator@8744 | 39 make DESTDIR=$DESTDIR install |
pankso@68 | 40 } |
pankso@68 | 41 |
pankso@68 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@68 | 43 genpkg_rules() |
pankso@68 | 44 { |
pankso@68 | 45 mkdir -p $fs/usr |
pankso@68 | 46 # Copy libs and contrib libs. |
pascal@13796 | 47 cp -a $install/usr/lib/ $fs/usr/ |
pankso@1117 | 48 # Remove devel files. |
pankso@68 | 49 rm -rf $fs/usr/lib/wx/include |
pankso@68 | 50 } |