wok-current annotate xarchiver/receipt @ rev 4274

cyrus-sasl-pam: fix build with gcc-4.x
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 25 23:49:23 2009 +0200 (2009-09-25)
parents 58622432a615
children 399969be6c3c
rev   line source
erjo@4156 1 # SliTaz package receipt.
erjo@4156 2
erjo@4156 3 PACKAGE="xarchiver"
erjo@4156 4 VERSION="0.5.2"
erjo@4156 5 CATEGORY="x-window"
erjo@4156 6 SHORT_DESC="Archive manager for thunar"
erjo@4156 7 MAINTAINER="erjo@slitaz.org"
erjo@4156 8 DEPENDS="gtk+"
erjo@4156 9 BUILD_DEPENDS="gtk+-dev"
erjo@4156 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4156 11 WEB_SITE="http://xarchiver.sourceforge.net/"
erjo@4156 12 WGET_URL="http://downloads.sourceforge.net/project/xarchiver/xarchiver/$VERSION/$TARBALL"
erjo@4156 13
erjo@4156 14 # Rules to configure and make the package.
erjo@4156 15 compile_rules()
erjo@4156 16 {
erjo@4156 17 cd $src
erjo@4156 18 ./configure \
erjo@4156 19 --prefix=/usr \
pascal@4206 20 --libexecdir=/usr/lib/$PACKAGE \
erjo@4156 21 $CONFIGURE_ARGS &&
erjo@4156 22 make && make DESTDIR=$PWD/_pkg install
erjo@4156 23 }
erjo@4156 24
erjo@4156 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4156 26 genpkg_rules()
erjo@4156 27 {
erjo@4156 28 mkdir -p $fs/usr/share/locale
erjo@4156 29 cp -a $_pkg/usr/bin $fs/usr
erjo@4156 30 cp -a $_pkg/usr/libexec $fs/usr
erjo@4156 31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
erjo@4156 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@4156 33 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@4156 34 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@4156 35
erjo@4156 36 chmod 755 $fs/usr/libexec/thunar-archive-plugin/*
erjo@4156 37 }
erjo@4156 38