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

Asterisk: add setup-rules for postgresql
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 22 12:16:29 2008 +0000 (2008-12-22)
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 }