wok view xarchiver/receipt @ rev 5721

clamav: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 24 17:10:47 2010 +0200 (2010-06-24)
parents 77aec339c31c
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="xarchiver"
4 VERSION="0.5.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Archive manager for thunar"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gtk+ tar"
9 BUILD_DEPENDS="gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://xarchiver.sourceforge.net/"
12 WGET_URL="http://downloads.sourceforge.net/project/xarchiver/xarchiver/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --libexecdir=/usr/lib \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/locale
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
33 cp -a $_pkg/usr/share/applications $fs/usr/share
34 cp -a $_pkg/usr/share/icons $fs/usr/share
36 chmod 755 $fs/usr/lib/thunar-archive-plugin/*
37 rm -rf $fs/usr/share/icons/hicolor/scalable
38 }