wok-next view mindi/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 380ffe05937a
children
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.mondorescue.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL"
14 compile_rules() {
15 PREFIX=$install/usr \
16 CONFDIR=$install/etc \
17 CACHEDIR=$install/var/cache/mindi \
18 ./install.sh
19 }
21 genpkg_rules() {
22 mkdir -p $fs/usr
24 cp -a $install/usr/sbin $fs/usr
25 cp -a $install/usr/lib $fs/usr
26 cp -a $install/etc $fs/
27 cp -a $install/var $fs/
29 #Fix path
30 sed -i -e "s!$install/!/!" $fs/etc/mindi/perl-scripts
31 sed -i -e "s!$install/!/!" $fs/usr/sbin/mindi
32 sed -i -e "s!/usr/lib/isolinux.bin!/boot/isolinux/isolinux.bin!" $fs/usr/sbin/mindi
33 DEPENDS="syslinux syslinux-extra"
34 }