wok-current annotate wxWidgets/receipt @ rev 4239
task: fix WGET (again)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Sep 24 17:50:39 2009 +0000 (2009-09-24) |
parents | 0588160a6878 |
children | 4897058add72 |
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 \ |
pankso@4052 | 9 gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-ng-uuid \ |
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 \ |
pankso@4090 | 14 xorg-dev xorg-xineramaproto patch" |
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@4090 | 23 patch -p 0 < ../stuff/gsockgtk.patch || exit 1 |
pankso@1117 | 24 ./configure \ |
pankso@1117 | 25 --prefix=/usr \ |
pankso@68 | 26 --enable-shared \ |
pankso@68 | 27 --enable-unicode \ |
pankso@68 | 28 --infodir=/usr/share/info \ |
pankso@68 | 29 --mandir=/usr/share/man \ |
pascal@1514 | 30 $CONFIGURE_ARGS && |
pascal@1514 | 31 make && |
pascal@1514 | 32 make DESTDIR=$src/_pkg install && |
pascal@1514 | 33 cd $src/contrib && |
pascal@1514 | 34 make && |
pankso@68 | 35 make DESTDIR=$src/contrib/_pkg install |
pankso@68 | 36 } |
pankso@68 | 37 |
pankso@68 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@68 | 39 genpkg_rules() |
pankso@68 | 40 { |
pankso@68 | 41 mkdir -p $fs/usr |
pankso@68 | 42 # Copy libs and contrib libs. |
pankso@68 | 43 cp -a $_pkg/usr/lib/ $fs/usr/ |
pankso@68 | 44 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/ |
pankso@1117 | 45 # Remove devel files. |
pankso@68 | 46 rm -rf $fs/usr/lib/wx/include |
pankso@68 | 47 } |