wok-current view mindi/receipt @ rev 19054

Up transmission (2.92)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Apr 19 03:16:52 2016 +0300 (2016-04-19)
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 }