wok-6.x annotate xfce4-panel/receipt @ rev 5494

Up: testdisk (6.11.3)
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 08 00:40:05 2010 +0000 (2010-05-08)
parents f165fed5166c
children 7a558ba00918
rev   line source
erjo@2073 1 # SliTaz package receipt.
erjo@2073 2
erjo@2073 3 PACKAGE="xfce4-panel"
erjo@4129 4 VERSION="4.6.1"
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/"
pascal@4214 12 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
erjo@2073 13
erjo@2073 14 # Rules to configure and make the package.
erjo@2073 15 compile_rules()
erjo@2073 16 {
erjo@4129 17 patch -p0 -i stuff/launcher-8.rc.in.u
erjo@4129 18
erjo@2073 19 cd $src
erjo@2073 20 ./configure --prefix=/usr \
erjo@2073 21 --sysconfdir=/etc \
erjo@2073 22 --enable-startup-notification \
erjo@2073 23 --disable-debug \
erjo@2073 24 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2073 25 make && make DESTDIR=$PWD/_pkg 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@2073 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@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@4876 44
erjo@4876 45
erjo@4876 46 # Strip evrythings
erjo@4876 47 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
erjo@4876 48
erjo@2073 49 }
erjo@2073 50