wok view xfdesktop/receipt @ rev 9098

emacs-pkg-lua-mode: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 22:10:40 2011 +0100 (2011-03-04)
parents 7406abd5367f
children 021bbe74dc30
line source
1 # SliTaz package receipt.
3 PACKAGE="xfdesktop"
4 VERSION="4.8.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Desktop"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfcegui4 thunar libexo libglade gamin libnotify"
9 BUILD_DEPENDS="libxfce4util-dev thunar-dev libexo-dev libxfce4ui-dev libwnck-dev xfconf-dev
10 libglade-dev gamin-dev hal-dev xfce4-panel-dev libnotify-dev intltool"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.xfce.org/"
13 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$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-notifications \
23 --enable-gio-unix \
24 --enable-thunarx \
25 --disable-static \
26 --libexecdir=/usr/lib/$PACKAGE \
27 --mandir=/usr/share/man $CONFIGURE_ARGS && \
28 make && make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib \
35 $fs/usr/share/locale \
36 $fs/usr/share/xfce4
38 cp -a $_pkg/usr/bin $fs/usr
39 #~ cp -a $_pkg/etc $fs/
40 #~ cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
41 #~ cp -a $_pkg/usr/lib $fs/usr
42 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
43 cp -a $_pkg/usr/share/applications $fs/usr/share
44 #~ cp -a $_pkg/usr/share/desktop-directories $fs/usr/share
45 #~ cp -a $_pkg/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
47 #~ strip -s $fs/usr/lib/$PACKAGE/xfce4/panel-plugins/*
49 }