wok view xfdesktop/receipt @ rev 4970

add/improve TAGS o* receipts
author Rohit Joshi <jozee@slitaz.org>
date Wed Feb 24 11:10:57 2010 +0000 (2010-02-24)
parents 1b2b3994fe1e
children 413b0174114a
line source
1 # SliTaz package receipt.
3 PACKAGE="xfdesktop"
4 VERSION="4.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Desktop"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfcegui4 thunar libexo"
9 BUILD_DEPENDS="libxfce4util-dev thunar-dev libexo-dev libxfcegui4-dev libwnck-dev xfconf-dev
10 libglade-dev gamin-dev hal-dev libxfce4menu-dev xfce4-panel-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.xfce.org/"
13 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --sysconfdir=/etc \
21 --enable-exo \
22 --enable-thunarx \
23 --disable-static \
24 --libexecdir=/usr/lib/$PACKAGE \
25 --mandir=/usr/share/man $CONFIGURE_ARGS && \
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib \
33 $fs/usr/share/locale \
34 $fs/usr/share/xfce4
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/etc $fs/
38 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
39 cp -a $_pkg/usr/lib $fs/usr
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/desktop-directories $fs/usr/share
43 cp -a $_pkg/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
45 strip -s $fs/usr/lib/$PACKAGE/xfce4/panel-plugins/*
47 }