wok-4.x annotate gnome-vfs-monikers/receipt @ rev 12322
get-wfica: update (thanks Carl)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 22 18:22:54 2012 +0200 (2012-08-22) |
parents | |
children |
rev | line source |
---|---|
pascal@11207 | 1 # SliTaz package receipt. |
pascal@11207 | 2 |
pascal@11207 | 3 PACKAGE="gnome-vfs-monikers" |
pascal@11207 | 4 VERSION="2.15.3" |
pascal@11207 | 5 CATEGORY="x-window" |
pascal@11207 | 6 SHORT_DESC="GNOME Bonobo monikers " |
pascal@11207 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@11207 | 8 DEPENDS="gnome-vfs libbonobo" |
pascal@11207 | 9 BUILD_DEPENDS="gnome-vfs-dev libbonobo-dev glib-dev ORBit2-dev" |
pascal@11207 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11207 | 11 WEB_SITE="http://www.gnome.org" |
pascal@11207 | 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@11207 | 13 |
pascal@11207 | 14 # Rules to configure and make the package. |
pascal@11207 | 15 compile_rules() |
pascal@11207 | 16 { |
pascal@11207 | 17 cd $src |
pascal@11207 | 18 export CFLAGS="-I/usr/include/libbonobo-2.0 -I/usr/include/glib-2.0 \ |
pascal@11207 | 19 -I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 \ |
pascal@11207 | 20 -I/usr/include/orbit-2.0 -I/usr/include/gnome-vfs-2.0" |
pascal@11207 | 21 ./configure \ |
pascal@11207 | 22 --prefix=/usr \ |
pascal@11207 | 23 --infodir=/usr/share/info \ |
pascal@11207 | 24 --mandir=/usr/share/man \ |
pascal@11207 | 25 $CONFIGURE_ARGS && |
pascal@11207 | 26 make && make DESTDIR=$DESTDIR install |
pascal@11207 | 27 } |
pascal@11207 | 28 |
pascal@11207 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11207 | 30 genpkg_rules() |
pascal@11207 | 31 { |
pascal@11207 | 32 mkdir -p $fs/usr/ |
pascal@11207 | 33 cp -a $_pkg/usr/lib $fs/usr |
pascal@11207 | 34 |
pascal@11207 | 35 # Clean unwated files |
pascal@11207 | 36 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; |
pascal@11207 | 37 |
pascal@11207 | 38 # Strip all |
pascal@11207 | 39 find . -name "*.so" -exec strip -s {} \; |
pascal@11207 | 40 } |
pascal@11207 | 41 |