wok-4.x annotate xarchive-extras/receipt @ rev 1586

knock: fix CONFIG_FILES
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 16 17:56:33 2008 +0000 (2008-10-16)
parents 5fb27e4bf774
children
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"
pascal@741 5 CATEGORY="x-window"
erjo@480 6 SHORT_DESC="XArchve command line archiving tools wrappers."
erjo@784 7 MAINTAINER="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/lib/xarchive/wrappers/* $fs/usr/lib/xarchive/wrappers
erjo@480 19 rm -f fs/usr/lib/xarchive/wrappers/tar-*
pascal@688 20 rm -f fs/usr/lib/xarchive/wrappers/deb-*
pascal@688 21 rm -f fs/usr/lib/xarchive/wrappers/rpm-*
pascal@688 22 rm -f fs/usr/lib/xarchive/wrappers/zip-*
erjo@480 23 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
erjo@480 24 }
erjo@480 25