wok-6.x view xfce4-panel/receipt @ rev 7723

Add pyrex.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Dec 19 14:52:58 2010 +0000 (2010-12-19)
parents fa89012698fd
children c6a66582f753
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-panel"
4 VERSION="4.6.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Panel"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfcegui4 libexo libwnck"
9 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev libexo-dev libwnck-dev cairo-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org/"
12 WGET_URL="$WEB_SITE/archive/xfce/4.6.2/src/$TARBALL
13 http://www.p0llux.be/xfce/archive/xfce/4.6.2/src/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --enable-startup-notification \
23 --disable-debug \
24 --mandir=/usr/share/man $CONFIGURE_ARGS && \
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr \
32 $fs/usr/share/locale \
33 $fs/usr/share/xfce4 \
34 $fs/usr/lib/xfce4/panel-plugins
36 cp -a $_pkg/etc $fs
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/lib/xfce4/panel-plugins/*.so* $fs/usr/lib/xfce4/panel-plugins
40 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
41 cp -a $_pkg/usr/share/applications $fs/usr/share
42 cp -a $_pkg/usr/share/icons $fs/usr/share
43 cp -a $_pkg/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
45 [ -f $fs/etc/xdg/xfce4/panel/launcher-8.rc ] && \
46 sed -i 's/mousepad/leafpad/' $fs/etc/xdg/xfce4/panel/launcher-8.rc
48 # Strip evrythings
49 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
51 }