wok diff wxWidgets/receipt @ rev 122
Chandeg category for dev pkgs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 05 23:00:53 2008 +0100 (2008-01-05) |
parents | |
children | ccf126429a43 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/wxWidgets/receipt Sat Jan 05 23:00:53 2008 +0100 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="wxWidgets" 1.7 +VERSION="2.8.6" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="Cross-platform GUI Library" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="pkg-config gtk+ xorg-libXinerama xorg-libSM xorg-libICE" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://www.wxwidgets.org/" 1.14 +WGET_URL="$SF_MIRROR/wxwindows/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure --prefix=/usr \ 1.21 + --enable-shared \ 1.22 + --enable-unicode \ 1.23 + --infodir=/usr/share/info \ 1.24 + --mandir=/usr/share/man \ 1.25 + $CONFIGURE_ARGS 1.26 + make 1.27 + make DESTDIR=$src/_pkg install 1.28 + cd $src/contrib 1.29 + make 1.30 + make DESTDIR=$src/contrib/_pkg install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr 1.37 + # Copy libs and contrib libs. 1.38 + cp -a $_pkg/usr/lib/ $fs/usr/ 1.39 + cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/ 1.40 + # Strip symbols and remove devel files. 1.41 + strip --strip-unneed $fs/usr/lib/*.so* 1.42 + rm -rf $fs/usr/lib/wx/include 1.43 +}