wok view xarchiver/receipt @ rev 10274

ncurses*: build fail if native build system is used so use the compiler machine type
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 21 21:22:47 2011 +0200 (2011-05-21)
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 }