wok view xfce4-session/receipt @ rev 4214

*xfce*: fix WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 10:48:19 2009 +0200 (2009-09-24)
parents 34ae067070b1
children 8180c06fd30e
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-session"
4 VERSION="4.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce session manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfcegui4 libwnck perl-xml-parser xorg-iceauth"
9 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev libwnck-dev xorg-iceauth libiconv"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org/"
12 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --sysconfdir=/etc \
20 --enable-dbus \
21 --enable-final \
22 --disable-gnome \
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/sbin
35 cp -a $_pkg/etc $fs/
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/libexec $fs/usr
38 cp -a $_pkg/usr/lib $fs/usr
39 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
40 cp -a $_pkg/usr/share/applications $fs/usr/share
41 cp -a $_pkg/usr/share/icons $fs/usr/share
42 cp -a $_pkg/usr/share/themes $fs/usr/share
43 #cp -a $_pkg/usr/share/xfce4 $fs/usr/share
45 # xfce4-session-logout workarround
46 cp stuff/shutdown $fs/sbin
48 # strip all files
49 strip -s $fs/usr/libexec/xf*
51 # remove autostartfile
52 rm -f $fs/etc/xdg/autostart/*
54 # Remove unecessary files
55 find $fs/ -name "*.*a" -exec rm -f {} \;
56 rm -rf $fs/usr/lib/pkgconfig
57 # Remove SVG icons
58 rm -rf $fs/usr/share/icons/hicolor/scalable
59 }