wok-next view thunar-archive-plugin/receipt @ rev 9266

eduke32: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 15 14:59:35 2011 +0100 (2011-03-15)
parents 54b16d8bdd21
children e5ae411e1d8c
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar-archive-plugin"
4 VERSION="0.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Thunar Archive Manager plugin"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="thunar"
9 BUILD_DEPENDS="thunar-dev intltool"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
12 WGET_URL="http://archive.xfce.org/src/thunar-plugins/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --libexecdir=/usr/lib \
20 --mandir=/usr/share/man $CONFIGURE_ARGS && \
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale \
28 $fs/usr/lib/thunarx-2
30 cp -a $_pkg/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-1
31 cp -a $_pkg/usr/share/icons $fs/usr/share
32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
33 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
35 # Fix perms
36 chmod 755 $fs/usr/lib/thunar-archive-plugin/*
38 # Cleanup
39 rm -f $fs/usr/lib/thunarx-2/*.*a
41 # Strip evrythings
42 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
43 }