wok view mindi/receipt @ rev 24003

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Jan 16 16:21:11 2021 +0100 (2021-01-16)
parents 380ffe05937a
children 241fb98cab1c
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 sed -i 's|uname -m|echo i686|' install.sh mindi parted2fdisk.pl
20 PREFIX=$install/usr \
21 CONFDIR=$install/etc \
22 CACHEDIR=$install/var/cache/mindi ./install.sh
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
30 cp -a $install/usr/sbin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/etc $fs/
33 cp -a $install/var $fs/
35 #Fix path
36 sed -i -e "s!$install/!/!" $fs/etc/mindi/perl-scripts
37 sed -i -e "s!$install/!/!" $fs/usr/sbin/mindi
38 sed -i -e "s!/usr/lib/isolinux.bin!/boot/isolinux/isolinux.bin!" $fs/usr/sbin/mindi
39 }