wok-next diff gnome-vfs-monikers/receipt @ rev 12697
slitaz-tools: temp patch to tazinst removed
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu May 03 07:51:54 2012 +0200 (2012-05-03) |
parents | |
children | 380ffe05937a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnome-vfs-monikers/receipt Thu May 03 07:51:54 2012 +0200 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gnome-vfs-monikers" 1.7 +VERSION="2.15.3" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="GNOME Bonobo monikers " 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="gnome-vfs libbonobo" 1.12 +BUILD_DEPENDS="gnome-vfs-dev libbonobo-dev glib-dev ORBit2-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://www.gnome.org" 1.15 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + export CFLAGS="-I/usr/include/libbonobo-2.0 -I/usr/include/glib-2.0 \ 1.22 +-I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 \ 1.23 +-I/usr/include/orbit-2.0 -I/usr/include/gnome-vfs-2.0" 1.24 + ./configure \ 1.25 + --prefix=/usr \ 1.26 + --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && make DESTDIR=$DESTDIR install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/ 1.36 + cp -a $_pkg/usr/lib $fs/usr 1.37 + 1.38 + # Clean unwated files 1.39 + cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; 1.40 + 1.41 + # Strip all 1.42 + find . -name "*.so" -exec strip -s {} \; 1.43 +} 1.44 +