wok-4.x view xarchive-extras/receipt @ rev 1790

lighttpd-ssl: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 30 16:41:04 2008 +0000 (2008-11-30)
parents 5fb27e4bf774
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xarchive-extras"
4 VERSION="0.2.8-6"
5 CATEGORY="x-window"
6 SHORT_DESC="XArchve command line archiving tools wrappers."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="xarchive"
9 WANTED="xarchive"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://xarchive.sourceforge.net/"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib/xarchive/wrappers
18 cp -a $_pkg/usr/lib/xarchive/wrappers/* $fs/usr/lib/xarchive/wrappers
19 rm -f fs/usr/lib/xarchive/wrappers/tar-*
20 rm -f fs/usr/lib/xarchive/wrappers/deb-*
21 rm -f fs/usr/lib/xarchive/wrappers/rpm-*
22 rm -f fs/usr/lib/xarchive/wrappers/zip-*
23 sed -i 's|#!\s*/bin/bash|#!/bin/sh|' $_pkg/usr/lib/xarchive/wrappers/*
24 }