wok-stable view libexo/receipt @ rev 4382

Add ht
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 14 11:55:42 2009 +0200 (2009-10-14)
parents 6dc1f847927c
children 9d920e7e106c
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-url perl-uri-escape perl-uri-file \
9 startup-notification hal"
10 BUILD_DEPENDS="libxfce4util-dev perl-uri-url perl-uri-escape perl-uri-file \
11 startup-notification-dev hal-dev"
12 SOURCE="exo"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.xfce.org"
15 WGET_URL="http://www.tx-us.xfce.org/archive/xfce-4.6.1/src/$TARBALL
16 http://www.p0llux.be/xfce/xfce-$VERSION/src/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch _p0 -i stuff/helpers.rc.u
23 cd $src
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --libexecdir=/usr/lib/libexo \
28 --enable-notifications \
29 --enable-hal \
30 --disable-debug \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS && \
33 make && make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib \
40 $fs/usr/share/locale \
41 $fs/usr/share/xfce4 \
42 $fs/etc/xdg/xfce4
44 cp -a $_pkg/etc $fs/
45 cp -a $_pkg/usr/bin $fs/usr
46 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
47 cp -a $_pkg/usr/lib/libexo $fs/usr/lib
48 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
49 cp -a $_pkg/usr/share/applications $fs/usr/share
50 cp -a $_pkg/usr/share/icons $fs/usr/share
51 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
52 cp -a $_pkg/usr/share/xfce4/helpers $fs/usr/share/xfce4
54 # Fix perms & helpers
55 chmod +x $fs/usr/bin/exo-preferred-applications
56 }