wok view xfce4-panel/receipt @ rev 11943

merge
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 29 22:02:22 2012 -0800 (2012-02-29)
parents 530776ca7237
children 73641efed1cc
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.xfce.org/"
10 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="libxfce4util libxfce4ui libexo libwnck garcon util-linux-ng-uuid dbus-glib"
13 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev libwnck-dev cairo-dev garcon-dev
14 xorg-libXext-dev xorg-xextproto dbus-glib-dev util-linux-ng-uuid-dev intltool exo xfconf-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
20 cd $src
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 --disable-debug \
24 --mandir=/usr/share/man $CONFIGURE_ARGS && \
25 make && make DESTDIR=$DESTDIR 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/lib/xfce4/panel/migrate $fs/usr/lib/xfce4/panel
41 cp -a $_pkg/usr/lib/xfce4/panel/wrapper $fs/usr/lib/xfce4/panel
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/xfce4 $fs/usr/share
47 #~ [ -f $fs/etc/xdg/xfce4/panel/launcher-8.rc ] && \
48 #~ sed -i 's/mousepad/leafpad/' $fs/etc/xdg/xfce4/panel/launcher-8.rc
50 # Strip evrythings
51 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
53 }