wok-stable view gnome-vfs-monikers/receipt @ rev 11974

boinc: edit init script
author Samuel Trassare <samuel_trassare@yahoo.com>
date Fri Mar 02 11:53:04 2012 -0800 (2012-03-02)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-vfs-monikers"
4 VERSION="2.15.3"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Bonobo monikers "
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gnome-vfs libbonobo"
9 BUILD_DEPENDS="gnome-vfs-dev libbonobo-dev glib-dev ORBit2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnome.org"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 export CFLAGS="-I/usr/include/libbonobo-2.0 -I/usr/include/glib-2.0 \
19 -I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 \
20 -I/usr/include/orbit-2.0 -I/usr/include/gnome-vfs-2.0"
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/
33 cp -a $_pkg/usr/lib $fs/usr
35 # Clean unwated files
36 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
38 # Strip all
39 find . -name "*.so" -exec strip -s {} \;
40 }