wok-next annotate xfce4-panel/receipt @ rev 2156

bash: fix sh link when removing
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 05 22:30:20 2009 +0100 (2009-02-05)
parents
children 422f5813b998
rev   line source
erjo@2073 1 # SliTaz package receipt.
erjo@2073 2
erjo@2073 3 PACKAGE="xfce4-panel"
erjo@2073 4 VERSION="4.4.3"
erjo@2073 5 CATEGORY="x-window"
erjo@2073 6 SHORT_DESC="Xfce Panel"
erjo@2073 7 MAINTAINER="erjo@slitaz.org"
erjo@2073 8 DEPENDS="xorg-libSM xfce-mcs-manager libxfce4util libxfcegui4 libxfce4mcs"
erjo@2073 9 BUILD_DEPENDS="xorg-libSM-dev libxfce4util-dev xfce-mcs-manager-dev"
erjo@2073 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2073 11 WEB_SITE="http://www.xfce.org/"
erjo@2073 12 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL"
erjo@2073 13
erjo@2073 14 # Rules to configure and make the package.
erjo@2073 15 compile_rules()
erjo@2073 16 {
erjo@2073 17 cd $src
erjo@2073 18 ./configure --prefix=/usr \
erjo@2073 19 --sysconfdir=/etc \
erjo@2073 20 --enable-startup-notification \
erjo@2073 21 --disable-debug \
erjo@2073 22 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2073 23 make && make DESTDIR=$PWD/_pkg install
erjo@2073 24 }
erjo@2073 25
erjo@2073 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2073 27 genpkg_rules()
erjo@2073 28 {
erjo@2073 29 mkdir -p $fs/usr \
erjo@2073 30 $fs/usr/share/locale \
erjo@2073 31 $fs/usr/share/xfce4 \
erjo@2073 32 $fs/usr/lib/xfce4/mcs-plugins \
erjo@2073 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@2073 38 cp -a $_pkg/usr/lib/xfce4/mcs-plugins/*.so* $fs/usr/lib/xfce4/mcs-plugins
erjo@2073 39 cp -a $_pkg/usr/lib/xfce4/panel-plugins/*.so* $fs/usr/lib/xfce4/panel-plugins
erjo@2073 40 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2073 41 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@2073 42 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2073 43 cp -a $_pkg/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
erjo@2073 44 }
erjo@2073 45