wok-current annotate wxWidgets/receipt @ rev 2103
Add: wordwarvi
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Jan 28 20:56:55 2009 +0000 (2009-01-28) |
parents | e165da1af814 |
children | d0b4a9f7bd04 |
rev | line source |
---|---|
pankso@68 | 1 # SliTaz package receipt. |
pankso@68 | 2 |
pankso@68 | 3 PACKAGE="wxWidgets" |
pankso@1117 | 4 VERSION="2.8.8" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@68 | 6 SHORT_DESC="Cross-platform GUI Library" |
pankso@68 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@68 | 8 DEPENDS="pkg-config gtk+ xorg-libXinerama xorg-libSM xorg-libICE" |
pascal@1514 | 9 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-dev" |
pankso@68 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@68 | 11 WEB_SITE="http://www.wxwidgets.org/" |
pankso@68 | 12 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL" |
pankso@68 | 13 |
pankso@68 | 14 # Rules to configure and make the package. |
pankso@68 | 15 compile_rules() |
pankso@68 | 16 { |
pankso@68 | 17 cd $src |
pankso@1117 | 18 ./configure \ |
pankso@1117 | 19 --prefix=/usr \ |
pankso@68 | 20 --enable-shared \ |
pankso@68 | 21 --enable-unicode \ |
pankso@68 | 22 --infodir=/usr/share/info \ |
pankso@68 | 23 --mandir=/usr/share/man \ |
pascal@1514 | 24 $CONFIGURE_ARGS && |
pascal@1514 | 25 make && |
pascal@1514 | 26 make DESTDIR=$src/_pkg install && |
pascal@1514 | 27 cd $src/contrib && |
pascal@1514 | 28 make && |
pankso@68 | 29 make DESTDIR=$src/contrib/_pkg install |
pankso@68 | 30 } |
pankso@68 | 31 |
pankso@68 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@68 | 33 genpkg_rules() |
pankso@68 | 34 { |
pankso@68 | 35 mkdir -p $fs/usr |
pankso@68 | 36 # Copy libs and contrib libs. |
pankso@68 | 37 cp -a $_pkg/usr/lib/ $fs/usr/ |
pankso@68 | 38 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/ |
pankso@1117 | 39 # Remove devel files. |
pankso@68 | 40 rm -rf $fs/usr/lib/wx/include |
pankso@68 | 41 } |