wok annotate xfce4-panel/receipt @ rev 10648

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