wok-6.x view libexo/receipt @ rev 5005
p*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 17:01:48 2010 +0100 (2010-02-28) |
parents | 9d920e7e106c |
children | a27053729c70 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libexo"
4 VERSION="0.3.101"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce extension library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util perl-uri startup-notification hal libnotify"
9 BUILD_DEPENDS="libxfce4util-dev perl-uri startup-notification-dev hal-dev"
10 SOURCE="exo"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.xfce.org"
13 WGET_URL="http://www.tx-us.xfce.org/archive/xfce-4.6.1/src/$TARBALL
14 http://www.p0llux.be/xfce/xfce-$VERSION/src/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 patch -p0 -i stuff/helpers.rc.u
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --libexecdir=/usr/lib/libexo \
26 --enable-notifications \
27 --enable-hal \
28 --disable-debug \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS && \
31 make && make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib \
38 $fs/usr/share/locale \
39 $fs/usr/share/xfce4 \
40 $fs/etc/xdg/xfce4
42 cp -a $_pkg/etc $fs/
43 cp -a $_pkg/usr/bin $fs/usr
44 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
45 cp -a $_pkg/usr/lib/libexo $fs/usr/lib
46 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
47 cp -a $_pkg/usr/share/applications $fs/usr/share
48 cp -a $_pkg/usr/share/icons $fs/usr/share
49 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
50 cp -a $_pkg/usr/share/xfce4/helpers $fs/usr/share/xfce4
52 # Fix perms & helpers
53 chmod +x $fs/usr/bin/exo-preferred-applications
55 # Strip files
56 strip -s $fs/usr/lib/libexo/* 2> /dev/null
57 }