wok-current view thunar/receipt @ rev 9087
xfce4-icon-theme: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 18:19:17 2011 +0100 (2011-03-04) |
parents | f62db0f06f1e |
children | e5ae411e1d8c |
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar"
4 VERSION="1.2.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Thunar File Manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libpng jpeg libxfce4util dbus libexo xfce4-panel \
9 pcre libexif libgudev gamin"
10 BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev
11 libexo-dev xfce4-panel-dev zlib-dev intltool libgudev-dev"
12 SOURCE="Thunar"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.xfce.org"
15 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
16 TAGS="file-manager file-browser"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr \
23 --sysconfdir=/etc \
24 --enable-dbus \
25 --enable-startup-notification \
26 --enable-notifications \
27 --enable-gudev \
28 --libexecdir=/usr/lib/$PACKAGE \
29 --enable-debug=no && \
30 make && make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
37 mkdir -p $fs/usr \
38 $fs/usr/share/locale \
39 $fs/usr/lib/thunarx-2
41 cp -a $_pkg/etc $fs/
42 cp -a $_pkg/usr/bin $fs/usr
44 cp -a $_pkg/usr/lib/Thunar $fs/usr/lib
45 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
46 cp -a $_pkg/usr/lib/xfce4 $fs/usr/lib
47 cp -a $_pkg/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
50 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
51 cp -a $_pkg/usr/share/applications $fs/usr/share
52 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
53 cp -a $_pkg/usr/share/icons $fs/usr/share
54 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
55 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
56 cp -a $_pkg/usr/share/Thunar $fs/usr/share
57 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
59 # Strip all
60 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
61 }