wok-next annotate 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
rev   line source
erjo@13493 1 # SliTaz package receipt.
erjo@13493 2
erjo@13493 3 PACKAGE="mindi"
erjo@13493 4 VERSION="2.1.3"
erjo@13493 5 CATEGORY="system-tools"
al@21020 6 SHORT_DESC="GPL disaster recovery solution"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@13493 9 WEB_SITE="http://www.mondorescue.org/"
al@21020 10
erjo@13493 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@13493 12 WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL"
erjo@13493 13
al@21020 14 compile_rules() {
erjo@13493 15 PREFIX=$install/usr \
al@21020 16 CONFDIR=$install/etc \
al@21020 17 CACHEDIR=$install/var/cache/mindi \
al@21020 18 ./install.sh
erjo@13493 19 }
erjo@13493 20
al@21020 21 genpkg_rules() {
erjo@13493 22 mkdir -p $fs/usr
al@21020 23
erjo@13493 24 cp -a $install/usr/sbin $fs/usr
erjo@13493 25 cp -a $install/usr/lib $fs/usr
erjo@13493 26 cp -a $install/etc $fs/
erjo@13493 27 cp -a $install/var $fs/
al@21020 28
erjo@13493 29 #Fix path
erjo@13493 30 sed -i -e "s!$install/!/!" $fs/etc/mindi/perl-scripts
erjo@13493 31 sed -i -e "s!$install/!/!" $fs/usr/sbin/mindi
erjo@13493 32 sed -i -e "s!/usr/lib/isolinux.bin!/boot/isolinux/isolinux.bin!" $fs/usr/sbin/mindi
al@21020 33 DEPENDS="syslinux syslinux-extra"
erjo@13493 34 }