wok-6.x view thunar-vfs/receipt @ rev 9045
asterisk-sound-fr: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 08:55:47 2011 +0100 (2011-03-04) |
parents | |
children | f9817eda4acb |
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar-vfs"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Thnuar File Manager Libraries"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libpng jpeg libxfce4util dbus startup-notification xfce4-panel \
9 gamin pcre libexif"
10 BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev
11 startup-notification-dev xfce4-panel-dev zlib-dev intltool"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.xfce.org"
14 WGET_URL="http://archive.xfce.org/xfce/4.8/src/$TARBALL"
15 TAGS="file-manager file-browser"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 --enable-dbus \
24 --enable-startup-notification \
25 --disable-gnome-thumbnailers \
26 --enable-debug=no && \
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
34 mkdir -p $fs/usr \
35 $fs/usr/share/locale \
36 $fs/usr/lib/ \
37 $fs/usr/share
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 cp -a $_pkg/usr/lib/thunar-vfs-1 $fs/usr/lib
42 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
43 cp -a $_pkg/usr/share/thumbnailers $fs/usr/share
45 # Strip all
46 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
47 }