wok-current annotate xfce4-panel/receipt @ rev 5831

Up: xfce4-panel (4.6.4)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jul 16 08:06:05 2010 +0200 (2010-07-16)
parents d3f8691c76f4
children fa89012698fd
rev   line source
erjo@2073 1 # SliTaz package receipt.
erjo@2073 2
erjo@2073 3 PACKAGE="xfce4-panel"
erjo@5831 4 VERSION="4.6.4"
erjo@2073 5 CATEGORY="x-window"
erjo@2073 6 SHORT_DESC="Xfce Panel"
erjo@2073 7 MAINTAINER="erjo@slitaz.org"
erjo@4129 8 DEPENDS="libxfce4util libxfcegui4 libexo libwnck"
erjo@4129 9 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev libexo-dev libwnck-dev cairo-dev"
erjo@2073 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2073 11 WEB_SITE="http://www.xfce.org/"
erjo@5831 12 WGET_URL="$WEB_SITE/archive/xfce/4.6.2/src/$TARBALL
erjo@5831 13 http://www.p0llux.be/xfce/archive/xfce/4.6.2/src/$TARBALL"
erjo@2073 14
erjo@2073 15 # Rules to configure and make the package.
erjo@2073 16 compile_rules()
erjo@2073 17 {
erjo@4129 18 patch -p0 -i stuff/launcher-8.rc.in.u
erjo@4129 19
erjo@2073 20 cd $src
erjo@2073 21 ./configure --prefix=/usr \
erjo@2073 22 --sysconfdir=/etc \
erjo@2073 23 --enable-startup-notification \
erjo@2073 24 --disable-debug \
erjo@2073 25 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2073 26 make && make DESTDIR=$PWD/_pkg install
erjo@2073 27 }
erjo@2073 28
erjo@2073 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2073 30 genpkg_rules()
erjo@2073 31 {
erjo@2073 32 mkdir -p $fs/usr \
erjo@2073 33 $fs/usr/share/locale \
erjo@2073 34 $fs/usr/share/xfce4 \
erjo@2073 35 $fs/usr/lib/xfce4/panel-plugins
erjo@2073 36
erjo@2073 37 cp -a $_pkg/etc $fs
erjo@2073 38 cp -a $_pkg/usr/bin $fs/usr
erjo@2073 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@2073 40 cp -a $_pkg/usr/lib/xfce4/panel-plugins/*.so* $fs/usr/lib/xfce4/panel-plugins
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@2073 44 cp -a $_pkg/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
erjo@4876 45
erjo@4876 46
erjo@4876 47 # Strip evrythings
erjo@4876 48 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
erjo@4876 49
erjo@2073 50 }
erjo@2073 51