# HG changeset patch # User Eric Joseph-Alexandre # Date 1206198206 -3600 # Node ID 223537e595e401e7e230388fc7c4bd87f98db263 # Parent 266910611b67ee69077aea5393d771aebc8c719a Add ixarchive*, wrappers now run with busibo/ash shell. diff -r 266910611b67 -r 223537e595e4 xarchive/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xarchive/receipt Sat Mar 22 16:03:26 2008 +0100 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="xarchive" +VERSION="0.2.8-6" +CATEGORY="x-windows" +SHORT_DESC="A GTK+ front-end for command line archiving tools." +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://xarchive.sourceforge.net/" +WGET_URL="http://dfn.dl.sourceforge.net/sourceforge/xarchive/$TARBALL" +JWM_MENU='Utilities:xarchive' + +# Rules to configure and make the package.ls sr +compile_rules() +{ + cd $src + # patch tar-wrap for busybox tar option + patch -p1 -i ../stuff/slitaz-xarchive-wrappers-0.2.8-6.patch + + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/xarchive/wrappers + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/xarchive/wrappers/tar-* $fs/usr/lib/xarchive/wrappers + sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/* + strip -s $fs/usr/bin/* +} +