wok-next annotate thunar-archive-plugin/receipt @ rev 15650

Up: libcss (0.1.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 10 16:14:37 2013 +0000 (2013-12-10)
parents 1d15ce5ad853
children 148fe453320b
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"
pascal@15590 8 LICENSE="GPL2"
erjo@2072 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@8291 10 WEB_SITE="http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
slaxemulator@8291 11 WGET_URL="http://archive.xfce.org/src/thunar-plugins/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@2072 12
erjo@10017 13 DEPENDS="thunar"
erjo@10017 14 BUILD_DEPENDS="intltool thunar-dev libexo-dev libxfce4ui-dev \
erjo@10017 15 xfconf-dev startup-notification-dev"
erjo@10017 16
erjo@2072 17 # Rules to configure and make the package.
erjo@2072 18 compile_rules()
erjo@2072 19 {
erjo@2072 20 cd $src
slaxemulator@10312 21 ./configure --libexecdir=/usr/lib \
slaxemulator@10312 22 $CONFIGURE_ARGS && \
slaxemulator@9475 23 make && make install
erjo@2072 24 }
erjo@2072 25
erjo@2072 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2072 27 genpkg_rules()
erjo@2072 28 {
erjo@2072 29 mkdir -p $fs/usr/share/locale \
slaxemulator@8291 30 $fs/usr/lib/thunarx-2
erjo@2072 31
pascal@15590 32 cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
pascal@15590 33 cp -a $install/usr/share/icons $fs/usr/share
pascal@15590 34 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
pascal@15590 35 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
erjo@4157 36
erjo@4157 37 # Fix perms
erjo@4872 38 chmod 755 $fs/usr/lib/thunar-archive-plugin/*
erjo@2072 39
erjo@2072 40 # Cleanup
slaxemulator@8291 41 rm -f $fs/usr/lib/thunarx-2/*.*a
erjo@2072 42 }
erjo@2072 43