wok-next annotate thunar/receipt @ rev 11715
added tintin.desktop and icon
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Sun Feb 19 14:05:48 2012 -0800 (2012-02-19) |
parents | 6cff10e9b8f0 |
children | d363995c1565 |
rev | line source |
---|---|
erjo@4144 | 1 # SliTaz package receipt. |
erjo@4144 | 2 |
erjo@4144 | 3 PACKAGE="thunar" |
slaxemulator@8287 | 4 VERSION="1.2.1" |
erjo@4144 | 5 CATEGORY="x-window" |
gokhlayeh@8063 | 6 SHORT_DESC="Thunar File Manager" |
erjo@4144 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@4144 | 8 SOURCE="Thunar" |
erjo@4144 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
erjo@4144 | 10 WEB_SITE="http://www.xfce.org" |
slaxemulator@8289 | 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
jozee@4973 | 12 TAGS="file-manager file-browser" |
erjo@4144 | 13 |
erjo@9922 | 14 DEPENDS="libpng jpeg libxfce4util dbus libexo xfce4-panel \ |
erjo@9922 | 15 pcre libexif libgudev gamin libxfce4ui startup-notification util-linux-ng-uuid" |
erjo@9922 | 16 BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev |
erjo@9922 | 17 libexo-dev xfce4-panel-dev zlib-dev intltool libgudev-dev libxfce4ui-dev \ |
erjo@9922 | 18 startup-notification-dev util-linux-ng-uuid-dev" |
erjo@9922 | 19 |
erjo@4144 | 20 # Rules to configure and make the package. |
erjo@4144 | 21 compile_rules() |
erjo@4144 | 22 { |
erjo@4144 | 23 cd $src |
erjo@4144 | 24 ./configure --prefix=/usr \ |
erjo@4144 | 25 --sysconfdir=/etc \ |
erjo@4144 | 26 --enable-dbus \ |
erjo@4144 | 27 --enable-startup-notification \ |
erjo@8019 | 28 --enable-notifications \ |
erjo@8019 | 29 --enable-gudev \ |
erjo@9922 | 30 --libexecdir=/usr/lib \ |
slaxemulator@10310 | 31 --enable-debug=no \ |
slaxemulator@10310 | 32 $CONFIGURE_ARGS && \ |
erjo@9922 | 33 make && make DESTDIR=$DESTDIR install |
erjo@4144 | 34 } |
erjo@4144 | 35 |
erjo@4144 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4144 | 37 genpkg_rules() |
erjo@4144 | 38 { |
erjo@4144 | 39 |
erjo@4144 | 40 mkdir -p $fs/usr \ |
erjo@4144 | 41 $fs/usr/share/locale \ |
erjo@8019 | 42 $fs/usr/lib/thunarx-2 |
erjo@4144 | 43 |
erjo@4144 | 44 cp -a $_pkg/etc $fs/ |
erjo@4144 | 45 cp -a $_pkg/usr/bin $fs/usr |
erjo@8019 | 46 |
erjo@8019 | 47 cp -a $_pkg/usr/lib/Thunar $fs/usr/lib |
erjo@8019 | 48 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@9922 | 49 # cp -a $_pkg/usr/lib/xfce4 $fs/usr/lib |
erjo@8019 | 50 cp -a $_pkg/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2 |
erjo@8019 | 51 |
erjo@8019 | 52 |
erjo@4144 | 53 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@4144 | 54 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@9922 | 55 # cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
erjo@4144 | 56 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@4144 | 57 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@4144 | 58 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@4144 | 59 cp -a $_pkg/usr/share/Thunar $fs/usr/share |
erjo@9922 | 60 # cp -a $_pkg/usr/share/xfce4 $fs/usr/share |
erjo@4144 | 61 } |
erjo@4144 | 62 |