wok annotate xfce4-panel/receipt @ rev 8562

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