# SliTaz package receipt. PACKAGE="wxWidgets" VERSION="2.8.12.1" CATEGORY="x-window" SHORT_DESC="Cross-platform GUI Library" MAINTAINER="pankso@slitaz.org" DEPENDS="glib glibc-base gcc-lib-base libgio pkg-config expat zlib atk \ gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-ng-uuid \ xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \ xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \ xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm" BUILD_DEPENDS="pkg-config gtk+ gtk+-dev expat-dev zlib-dev \ xorg-dev xorg-xineramaproto patch" SOURCE="wxPython" TARBALL="$SOURCE-src-$VERSION.tar.bz2" WEB_SITE="http://www.wxwidgets.org/" WGET_URL="$SF_MIRROR/wxpython/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --enable-shared \ --enable-unicode \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install && cd $src/contrib && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr # Copy libs and contrib libs. cp -a $_pkg/usr/lib/ $fs/usr/ # Remove devel files. rm -rf $fs/usr/lib/wx/include }