# HG changeset patch # User Eric Joseph-Alexandre # Date 1253573522 0 # Node ID 58622432a615805e361d8cc2eb296bda4343390a # Parent 0963d7e179f24580d9ad47d43437625531c476b9 Add: xarchiver diff -r 0963d7e179f2 -r 58622432a615 xarchiver/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xarchiver/receipt Mon Sep 21 22:52:02 2009 +0000 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="xarchiver" +VERSION="0.5.2" +CATEGORY="x-window" +SHORT_DESC="Archive manager for thunar" +MAINTAINER="erjo@slitaz.org" +DEPENDS="gtk+" +BUILD_DEPENDS="gtk+-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://xarchiver.sourceforge.net/" +WGET_URL="http://downloads.sourceforge.net/project/xarchiver/xarchiver/$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/locale + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/libexec $fs/usr + cp -a $_pkg/usr/share/pixmaps $fs/usr/share + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale + cp -a $_pkg/usr/share/applications $fs/usr/share + cp -a $_pkg/usr/share/icons $fs/usr/share + + chmod 755 $fs/usr/libexec/thunar-archive-plugin/* +} +