wok view mindi/receipt @ rev 13873
dahdi-man: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 14 23:50:30 2013 +0100 (2013-01-14) |
parents | |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="mindi"
4 VERSION="2.1.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="GPL disaster recovery solution."
7 MAINTAINER="erjo@slitaz.org"
8 WEB_SITE="http://www.mondorescue.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL"
12 DEPENDS="syslinux syslinux-extra"
13 BUILD_DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 PREFIX=$install/usr \
19 CONFDIR=$install/etc \
20 CACHEDIR=$install/var/cache/mindi ./install.sh
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
28 cp -a $install/usr/sbin $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 cp -a $install/etc $fs/
31 cp -a $install/var $fs/
33 #Fix path
34 sed -i -e "s!$install/!/!" $fs/etc/mindi/perl-scripts
35 sed -i -e "s!$install/!/!" $fs/usr/sbin/mindi
36 sed -i -e "s!/usr/lib/isolinux.bin!/boot/isolinux/isolinux.bin!" $fs/usr/sbin/mindi
37 }