wok-stable view thunar-archive-plugin/receipt @ rev 5456

Up ruby (1.9.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 17:10:21 2010 +0200 (2010-05-05)
parents 42523bca6bfa
children 0874004b631d
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar-archive-plugin"
4 VERSION="0.2.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Thunar Archive Manager plugin"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="thunar"
9 BUILD_DEPENDS="thunar-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://foo-projects.org/~benny/projects/thunar-archive-plugin/index.html"
12 WGET_URL="http://download.berlios.de/xfce-goodies/$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-1
30 cp -a $_pkg/usr/lib/thunarx-1/*.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-1/*.*a
41 # Strip evrythings
42 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
43 }