wok-current rev 68
Add : wxWidgets libs + dev package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Dec 24 16:07:17 2007 +0100 (2007-12-24) |
parents | 773ff8d2a8e5 |
children | e34c94590b59 |
files | wxWidgets-dev/receipt wxWidgets/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/wxWidgets-dev/receipt Mon Dec 24 16:07:17 2007 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="wxWidgets-dev" 1.7 +VERSION="2.8.6" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="Cross-platform GUI Library devel files." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="pkg-config gtk+-dev xorg-libXinerama-dev xorg-libSM-dev xorg-libICE-dev" 1.12 +WANTED="wxWidgets" 1.13 +WEB_SITE="http://www.wxwidgets.org/" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib/wx 1.19 + cp -a $_pkg/usr/bin/ $fs/usr/ 1.20 + cp -a $_pkg/usr/include/ $fs/usr/ 1.21 + # Just copy setup.h and contrib include 1.22 + cp -a $_pkg/usr/lib/wx/include $fs/usr/lib/wx 1.23 + cp -a $src/contrib/_pkg/usr/include/ $fs/usr/ 1.24 + # Strip and redirect error messages 1.25 + strip -s $fs/usr/bin/* 2>/dev/null 1.26 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/wxWidgets/receipt Mon Dec 24 16:07:17 2007 +0100 2.3 @@ -0,0 +1,40 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="wxWidgets" 2.7 +VERSION="2.8.6" 2.8 +CATEGORY="extra" 2.9 +SHORT_DESC="Cross-platform GUI Library" 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +DEPENDS="pkg-config gtk+ xorg-libXinerama xorg-libSM xorg-libICE" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.13 +WEB_SITE="http://www.wxwidgets.org/" 2.14 +WGET_URL="$SF_MIRROR/wxwindows/$TARBALL" 2.15 + 2.16 +# Rules to configure and make the package. 2.17 +compile_rules() 2.18 +{ 2.19 + cd $src 2.20 + ./configure --prefix=/usr \ 2.21 + --enable-shared \ 2.22 + --enable-unicode \ 2.23 + --infodir=/usr/share/info \ 2.24 + --mandir=/usr/share/man \ 2.25 + $CONFIGURE_ARGS 2.26 + make 2.27 + make DESTDIR=$src/_pkg install 2.28 + cd $src/contrib 2.29 + make 2.30 + make DESTDIR=$src/contrib/_pkg install 2.31 +} 2.32 + 2.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.34 +genpkg_rules() 2.35 +{ 2.36 + mkdir -p $fs/usr 2.37 + # Copy libs and contrib libs. 2.38 + cp -a $_pkg/usr/lib/ $fs/usr/ 2.39 + cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/ 2.40 + # Strip symbols and remove devel files. 2.41 + strip --strip-unneed $fs/usr/lib/*.so* 2.42 + rm -rf $fs/usr/lib/wx/include 2.43 +}