# HG changeset patch # User Christophe Lincoln # Date 1198508837 -3600 # Node ID d3c251aa853d46c2cad529f0a188babccc561189 # Parent 773ff8d2a8e59ea100e2a431396f1d2aaf890f84 Add : wxWidgets libs + dev package diff -r 773ff8d2a8e5 -r d3c251aa853d wxWidgets-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wxWidgets-dev/receipt Mon Dec 24 16:07:17 2007 +0100 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="wxWidgets-dev" +VERSION="2.8.6" +CATEGORY="extra" +SHORT_DESC="Cross-platform GUI Library devel files." +MAINTAINER="pankso@slitaz.org" +DEPENDS="pkg-config gtk+-dev xorg-libXinerama-dev xorg-libSM-dev xorg-libICE-dev" +WANTED="wxWidgets" +WEB_SITE="http://www.wxwidgets.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/wx + cp -a $_pkg/usr/bin/ $fs/usr/ + cp -a $_pkg/usr/include/ $fs/usr/ + # Just copy setup.h and contrib include + cp -a $_pkg/usr/lib/wx/include $fs/usr/lib/wx + cp -a $src/contrib/_pkg/usr/include/ $fs/usr/ + # Strip and redirect error messages + strip -s $fs/usr/bin/* 2>/dev/null +} diff -r 773ff8d2a8e5 -r d3c251aa853d wxWidgets/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wxWidgets/receipt Mon Dec 24 16:07:17 2007 +0100 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="wxWidgets" +VERSION="2.8.6" +CATEGORY="extra" +SHORT_DESC="Cross-platform GUI Library" +MAINTAINER="pankso@slitaz.org" +DEPENDS="pkg-config gtk+ xorg-libXinerama xorg-libSM xorg-libICE" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.wxwidgets.org/" +WGET_URL="$SF_MIRROR/wxwindows/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --enable-shared \ + --enable-unicode \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$src/_pkg install + cd $src/contrib + make + make DESTDIR=$src/contrib/_pkg 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/ + cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/ + # Strip symbols and remove devel files. + strip --strip-unneed $fs/usr/lib/*.so* + rm -rf $fs/usr/lib/wx/include +}