wok-4.x annotate wxWidgets/receipt @ rev 11517

ntop: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 23 18:57:38 2011 +0100 (2011-12-23)
parents 6988f27ad479
children
rev   line source
pankso@68 1 # SliTaz package receipt.
pankso@68 2
pankso@68 3 PACKAGE="wxWidgets"
slaxemulator@11140 4 VERSION="2.8.12.1"
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 \
pascal@5007 12 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm"
rcx@3289 13 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev expat-dev zlib-dev \
pankso@4090 14 xorg-dev xorg-xineramaproto patch"
slaxemulator@11140 15 SOURCE="wxPython"
slaxemulator@11140 16 TARBALL="$SOURCE-src-$VERSION.tar.bz2"
pankso@68 17 WEB_SITE="http://www.wxwidgets.org/"
slaxemulator@11140 18 WGET_URL="$SF_MIRROR/wxpython/$TARBALL"
pankso@68 19
pankso@68 20 # Rules to configure and make the package.
pankso@68 21 compile_rules()
pankso@68 22 {
pankso@68 23 cd $src
slaxemulator@8744 24 ./configure \
pankso@68 25 --enable-shared \
slaxemulator@10063 26 --enable-unicode \
slaxemulator@10063 27 $CONFIGURE_ARGS &&
slaxemulator@8539 28 make &&
slaxemulator@8744 29 make DESTDIR=$DESTDIR install &&
slaxemulator@8744 30 cd $src/contrib &&
slaxemulator@8744 31 make &&
slaxemulator@8744 32 make DESTDIR=$DESTDIR install
pankso@68 33 }
pankso@68 34
pankso@68 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@68 36 genpkg_rules()
pankso@68 37 {
pankso@68 38 mkdir -p $fs/usr
pankso@68 39 # Copy libs and contrib libs.
pankso@68 40 cp -a $_pkg/usr/lib/ $fs/usr/
pankso@1117 41 # Remove devel files.
pankso@68 42 rm -rf $fs/usr/lib/wx/include
pankso@68 43 }