wok-4.x view wxWidgets/receipt @ rev 9818
ruby: fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 15 02:10:25 2011 +0200 (2011-05-15) |
parents | 3213525e89ac |
children | 6988f27ad479 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="2.8.11"
5 CATEGORY="x-window"
6 SHORT_DESC="Cross-platform GUI Library"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glib glibc-base gcc-lib-base libgio pkg-config expat zlib atk \
9 gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-ng-uuid \
10 xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \
11 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \
12 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm"
13 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev expat-dev zlib-dev \
14 xorg-dev xorg-xineramaproto patch"
15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
16 WEB_SITE="http://www.wxwidgets.org/"
17 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --enable-shared \
25 --enable-unicode &&
26 make &&
27 make DESTDIR=$DESTDIR install &&
28 cd $src/contrib &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 # Copy libs and contrib libs.
38 cp -a $_pkg/usr/lib/ $fs/usr/
39 # Remove devel files.
40 rm -rf $fs/usr/lib/wx/include
41 }