wok view xfce4-panel/receipt @ rev 9861
php: try to fix again
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 18:10:27 2011 +0200 (2011-05-16) |
parents | e2730f1e9d67 |
children | 3c98cc9277d1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-panel"
4 VERSION="4.8.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Panel"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfce4ui libexo libwnck garcon util-linux-ng-uuid dbus-glib"
9 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev libwnck-dev cairo-dev garcon-dev
10 xorg-libXext-dev xorg-xextproto dbus-glib-dev util-linux-ng-uuid-dev intltool exo"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.xfce.org/"
13 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --disable-debug \
23 --mandir=/usr/share/man $CONFIGURE_ARGS && \
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr \
31 $fs/usr/share/locale \
32 $fs/usr/share/xfce4 \
33 $fs/usr/lib/xfce4/panel/plugins
35 cp -a $_pkg/etc $fs
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/lib/xfce4/panel/plugins/*.so* $fs/usr/lib/xfce4/panel/plugins
39 cp -a $_pkg/usr/lib/xfce4/panel/migrate $fs/usr/lib/xfce4/panel
40 cp -a $_pkg/usr/lib/xfce4/panel/wrapper $fs/usr/lib/xfce4/panel
41 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
42 cp -a $_pkg/usr/share/applications $fs/usr/share
43 cp -a $_pkg/usr/share/icons $fs/usr/share
44 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
46 #~ [ -f $fs/etc/xdg/xfce4/panel/launcher-8.rc ] && \
47 #~ sed -i 's/mousepad/leafpad/' $fs/etc/xdg/xfce4/panel/launcher-8.rc
49 # Strip evrythings
50 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
52 }