wok annotate wxWidgets/receipt @ rev 3346
Up: transmission (1.71)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jun 11 16:35:46 2009 +0200 (2009-06-11) |
parents | 26bc96c01f3d |
children | 0588160a6878 |
rev | line source |
---|---|
pankso@68 | 1 # SliTaz package receipt. |
pankso@68 | 2 |
pankso@68 | 3 PACKAGE="wxWidgets" |
claudinei@3151 | 4 VERSION="2.8.10" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@68 | 6 SHORT_DESC="Cross-platform GUI Library" |
pankso@68 | 7 MAINTAINER="pankso@slitaz.org" |
rcx@3289 | 8 DEPENDS="glib glibc-base gcc-lib-base libgio pkg-config expat zlib atk \ |
rcx@3289 | 9 gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman libuuid \ |
rcx@3289 | 10 xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \ |
rcx@3289 | 11 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \ |
rcx@3289 | 12 xorg-libXfixes xorg-libXinerama xorg-libXrender" |
rcx@3289 | 13 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev expat-dev zlib-dev \ |
rcx@3289 | 14 xorg-dev xorg-xineramaproto" |
pankso@68 | 15 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@68 | 16 WEB_SITE="http://www.wxwidgets.org/" |
pankso@68 | 17 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL" |
pankso@68 | 18 |
pankso@68 | 19 # Rules to configure and make the package. |
pankso@68 | 20 compile_rules() |
pankso@68 | 21 { |
pankso@68 | 22 cd $src |
pankso@1117 | 23 ./configure \ |
pankso@1117 | 24 --prefix=/usr \ |
pankso@68 | 25 --enable-shared \ |
pankso@68 | 26 --enable-unicode \ |
pankso@68 | 27 --infodir=/usr/share/info \ |
pankso@68 | 28 --mandir=/usr/share/man \ |
pascal@1514 | 29 $CONFIGURE_ARGS && |
pascal@1514 | 30 make && |
pascal@1514 | 31 make DESTDIR=$src/_pkg install && |
pascal@1514 | 32 cd $src/contrib && |
pascal@1514 | 33 make && |
pankso@68 | 34 make DESTDIR=$src/contrib/_pkg install |
pankso@68 | 35 } |
pankso@68 | 36 |
pankso@68 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@68 | 38 genpkg_rules() |
pankso@68 | 39 { |
pankso@68 | 40 mkdir -p $fs/usr |
pankso@68 | 41 # Copy libs and contrib libs. |
pankso@68 | 42 cp -a $_pkg/usr/lib/ $fs/usr/ |
pankso@68 | 43 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/ |
pankso@1117 | 44 # Remove devel files. |
pankso@68 | 45 rm -rf $fs/usr/lib/wx/include |
pankso@68 | 46 } |