wok-stable view xfce4-panel/receipt @ rev 5461

Up opal (3.6.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 18:43:50 2010 +0200 (2010-05-05)
parents f165fed5166c
children 7a558ba00918
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-panel"
4 VERSION="4.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Panel"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfcegui4 libexo libwnck"
9 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev libexo-dev libwnck-dev cairo-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org/"
12 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 patch -p0 -i stuff/launcher-8.rc.in.u
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --enable-startup-notification \
23 --disable-debug \
24 --mandir=/usr/share/man $CONFIGURE_ARGS && \
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr \
32 $fs/usr/share/locale \
33 $fs/usr/share/xfce4 \
34 $fs/usr/lib/xfce4/panel-plugins
36 cp -a $_pkg/etc $fs
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/lib/xfce4/panel-plugins/*.so* $fs/usr/lib/xfce4/panel-plugins
40 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
41 cp -a $_pkg/usr/share/applications $fs/usr/share
42 cp -a $_pkg/usr/share/icons $fs/usr/share
43 cp -a $_pkg/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
46 # Strip evrythings
47 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
49 }