wok-next annotate xarchive-extras/receipt @ rev 480
UP: xarchive. Packages split in two parts. xarchive, xarchive-extras
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Mar 22 00:57:10 2008 +0100 (2008-03-22) |
parents | |
children | 8a1f1d873635 |
rev | line source |
---|---|
erjo@480 | 1 # SliTaz package receipt. |
erjo@480 | 2 |
erjo@480 | 3 PACKAGE="xarchive-extras" |
erjo@480 | 4 VERSION="0.2.8-6" |
erjo@480 | 5 CATEGORY="x-windows" |
erjo@480 | 6 SHORT_DESC="XArchve command line archiving tools wrappers." |
erjo@480 | 7 MAINTAINER="Erjo <erjo@slitaz.org>" |
erjo@480 | 8 DEPENDS="xarchive" |
erjo@480 | 9 WANTED="xarchive" |
erjo@480 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@480 | 11 WEB_SITE="http://xarchive.sourceforge.net/" |
erjo@480 | 12 |
erjo@480 | 13 |
erjo@480 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@480 | 15 genpkg_rules() |
erjo@480 | 16 { |
erjo@480 | 17 mkdir -p $fs/usr/lib/xarchive/wrappers |
erjo@480 | 18 cp -a $_pkg/usr/bin $fs/usr |
erjo@480 | 19 cp -a $_pkg/usr/lib/xarchive/wrappers/* $fs/usr/lib/xarchive/wrappers |
erjo@480 | 20 rm -f fs/usr/lib/xarchive/wrappers/tar-* |
erjo@480 | 21 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/* |
erjo@480 | 22 } |
erjo@480 | 23 |