wok-current view mindi/receipt @ rev 15742
Up: tazdev and tazwikiss (match slitaz-dev-tools Hg tag)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 02 14:50:15 2014 +0100 (2014-01-02) |
parents | d8b4846b3f2a |
children | 3ae65034bee9 |
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 }