wok view libexo/receipt @ rev 2076

Add: libexe*, libxfce4mcs*, libxfce4util*, libxfcegui4*
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jan 23 23:12:13 2009 +0100 (2009-01-23)
parents
children 2e55de4816a6
line source
1 # SliTaz package receipt.
3 PACKAGE="libexo"
4 VERSION="0.3.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce extension library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util xfce-mcs-manager 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 xfce-mcs-manager-dev
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.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 --enable-mcs-plugin \
24 --enable-notifications \
25 --enable-hal \
26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr \
34 $fs/usr/lib/xfce4/mcs-plugins \
35 $fs/usr/share/locale \
36 $fs/usr/share/xfce4
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 cp -a $_pkg/usr/lib/xfce4/mcs-plugins/*.so* $fs/usr/lib/xfce4/mcs-plugins
41 cp -a $_pkg/usr/libexec $fs/usr
42 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
43 cp -a $_pkg/usr/share/applications $fs/usr/share
44 cp -a $_pkg/usr/share/icons $fs/usr/share
45 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
46 cp -a $_pkg/usr/share/xfce4/helpers $fs/usr/share/xfce4
48 # Fix perms
49 chmod +x $fs/usr/bin/exo-preferred-applications
50 }