wok-current view wxWidgets/receipt @ rev 3810
Add: couchdb (0.9.1)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Wed Aug 05 21:39:59 2009 +0000 (2009-08-05) |
parents | 26bc96c01f3d |
children | 0588160a6878 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="2.8.10"
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 libuuid \
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"
13 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev expat-dev zlib-dev \
14 xorg-dev xorg-xineramaproto"
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 --prefix=/usr \
25 --enable-shared \
26 --enable-unicode \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$src/_pkg install &&
32 cd $src/contrib &&
33 make &&
34 make DESTDIR=$src/contrib/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 # Copy libs and contrib libs.
42 cp -a $_pkg/usr/lib/ $fs/usr/
43 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/
44 # Remove devel files.
45 rm -rf $fs/usr/lib/wx/include
46 }