wok view xarchiver/receipt @ rev 16337
Add slitaz-arm-adm (Can be used on other arch)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 12:20:54 2014 +0200 (2014-04-12) |
parents | 089deafb463e |
children | 40f65f328312 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://xarchiver.sourceforge.net/"
11 WGET_URL="http://downloads.sourceforge.net/project/xarchiver/xarchiver/$VERSION/$TARBALL"
13 DEPENDS="gtk+ tar"
14 BUILD_DEPENDS="gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --libexecdir=/usr/lib \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/locale
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/share/pixmaps $fs/usr/share
34 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
35 cp -a $install/usr/share/applications $fs/usr/share
36 cp -a $install/usr/share/icons $fs/usr/share
38 chmod 755 $fs/usr/lib/thunar-archive-plugin/*
39 rm -rf $fs/usr/share/icons/hicolor/scalable
40 }