wok-6.x annotate Thunar/receipt @ rev 2951

ecore: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 08 16:12:51 2009 +0200 (2009-05-08)
parents c90336129e85
children
rev   line source
erjo@2072 1 # SliTaz package receipt.
erjo@2072 2
erjo@2072 3 PACKAGE="Thunar"
erjo@2072 4 VERSION="0.9.3"
erjo@2072 5 CATEGORY="x-window"
erjo@2072 6 SHORT_DESC="Thnuar File Manager"
erjo@2072 7 MAINTAINER="erjo@slitaz.org"
pascal@2421 8 DEPENDS="libpng jpeg libxfce4util dbus libexo startup-notification xfce4-panel \
pascal@2511 9 pcre xorg-libXdamage"
erjo@2072 10 BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev
erjo@2072 11 libexo-dev startup-notification-dev xfce4-panel-dev"
erjo@2072 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2072 13 WEB_SITE="http://www.xfce.org"
erjo@2072 14 WGET_URL="http://www.tx-us.xfce.org/archive/xfce-4.4.3/src/$TARBALL"
erjo@2072 15
erjo@2072 16 # Rules to configure and make the package.
erjo@2072 17 compile_rules()
erjo@2072 18 {
erjo@2072 19 cd $src
erjo@2072 20 ./configure --prefix=/usr \
erjo@2072 21 --sysconfdir=/etc \
erjo@2072 22 --enable-dbus \
erjo@2072 23 --enable-startup-notification \
erjo@2072 24 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2072 25 make && make DESTDIR=$PWD/_pkg install
erjo@2072 26 }
erjo@2072 27
erjo@2072 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2072 29 genpkg_rules()
erjo@2072 30 {
erjo@2072 31
pankso@2096 32 mkdir -p $fs/usr/share \
erjo@2072 33 $fs/usr/lib/thunarx-1
erjo@2072 34
erjo@2072 35 cp -a $_pkg/usr/bin $fs/usr
erjo@2072 36 cp -a $_pkg/usr/libexec $fs/usr
erjo@2072 37 cp -a $_pkg/usr/share $fs/usr/
erjo@2072 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@2072 39 cp -a $_pkg/usr/lib/thunarx-1/*.so* $fs/usr/lib/thunarx-1
erjo@2072 40 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@2072 41 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
erjo@2072 42 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2072 43 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
erjo@2072 44 cp -a $_pkg/usr/share/thumbnailers $fs/usr/share
erjo@2072 45 cp -a $_pkg/usr/share/Thunar $fs/usr/share
erjo@2072 46 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
erjo@2072 47 }
erjo@2072 48