wok view wxWidgets/receipt @ rev 12086
osmo: Make sure /usr folder exist before copying /usr/bin folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 09 21:48:21 2012 -0500 (2012-03-09) |
parents | 6988f27ad479 |
children | 15155a99ad20 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="2.8.12.1"
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 SOURCE="wxPython"
16 TARBALL="$SOURCE-src-$VERSION.tar.bz2"
17 WEB_SITE="http://www.wxwidgets.org/"
18 WGET_URL="$SF_MIRROR/wxpython/$TARBALL"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --enable-shared \
26 --enable-unicode \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install &&
30 cd $src/contrib &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 # Copy libs and contrib libs.
40 cp -a $_pkg/usr/lib/ $fs/usr/
41 # Remove devel files.
42 rm -rf $fs/usr/lib/wx/include
43 }