wok annotate thunar-archive-plugin/receipt @ rev 10017

thunar-archive-plugin: fix bdeps
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu May 19 12:28:58 2011 +0200 (2011-05-19)
parents e5ae411e1d8c
children 1d15ce5ad853
rev   line source
erjo@2072 1 # SliTaz package receipt.
erjo@2072 2
erjo@2072 3 PACKAGE="thunar-archive-plugin"
slaxemulator@8291 4 VERSION="0.3.0"
erjo@2072 5 CATEGORY="x-window"
erjo@2072 6 SHORT_DESC="Thunar Archive Manager plugin"
erjo@2072 7 MAINTAINER="erjo@slitaz.org"
erjo@2072 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@8291 9 WEB_SITE="http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
slaxemulator@8291 10 WGET_URL="http://archive.xfce.org/src/thunar-plugins/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@2072 11
erjo@10017 12 DEPENDS="thunar"
erjo@10017 13 BUILD_DEPENDS="intltool thunar-dev libexo-dev libxfce4ui-dev \
erjo@10017 14 xfconf-dev startup-notification-dev"
erjo@10017 15
erjo@2072 16 # Rules to configure and make the package.
erjo@2072 17 compile_rules()
erjo@2072 18 {
erjo@2072 19 cd $src
slaxemulator@9475 20 ./configure --libexecdir=/usr/lib && \
slaxemulator@9475 21 make && make install
erjo@2072 22 }
erjo@2072 23
erjo@2072 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2072 25 genpkg_rules()
erjo@2072 26 {
erjo@2072 27 mkdir -p $fs/usr/share/locale \
slaxemulator@8291 28 $fs/usr/lib/thunarx-2
erjo@2072 29
slaxemulator@9475 30 cp -a $_pkg/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
erjo@2072 31 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2072 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pascal@4233 33 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
erjo@4157 34
erjo@4157 35 # Fix perms
erjo@4872 36 chmod 755 $fs/usr/lib/thunar-archive-plugin/*
erjo@2072 37
erjo@2072 38 # Cleanup
slaxemulator@8291 39 rm -f $fs/usr/lib/thunarx-2/*.*a
erjo@2072 40 }
erjo@2072 41