wok-next view mindi/receipt @ rev 15437

Up: evas-dev (1.7.9)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 05 20:57:36 2013 +0100 (2013-11-05)
parents d8b4846b3f2a
children d5aab818505e
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 LICENSE="GPL2"
9 WEB_SITE="http://www.mondorescue.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL"
13 DEPENDS="syslinux syslinux-extra"
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 PREFIX=$install/usr \
20 CONFDIR=$install/etc \
21 CACHEDIR=$install/var/cache/mindi ./install.sh
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
29 cp -a $install/usr/sbin $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 cp -a $install/etc $fs/
32 cp -a $install/var $fs/
34 #Fix path
35 sed -i -e "s!$install/!/!" $fs/etc/mindi/perl-scripts
36 sed -i -e "s!$install/!/!" $fs/usr/sbin/mindi
37 sed -i -e "s!/usr/lib/isolinux.bin!/boot/isolinux/isolinux.bin!" $fs/usr/sbin/mindi
38 }