wok-next annotate mindi/receipt @ rev 20645
Up libjpeg-turbo (1.5.3), libpng16 (1.6.34), libraw (0.18.7), shared-mime-info (1.9), tree (1.7.0), xapian (1.4.5); add time.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 01 23:19:32 2018 +0300 (2018-05-01) |
parents | d8b4846b3f2a |
children | d5aab818505e |
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" |
erjo@13493 | 6 SHORT_DESC="GPL disaster recovery solution." |
erjo@13493 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@13493 | 9 WEB_SITE="http://www.mondorescue.org/" |
erjo@13493 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@13493 | 11 WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL" |
erjo@13493 | 12 |
erjo@13493 | 13 DEPENDS="syslinux syslinux-extra" |
erjo@13493 | 14 BUILD_DEPENDS="" |
erjo@13493 | 15 |
erjo@13493 | 16 # Rules to configure and make the package. |
erjo@13493 | 17 compile_rules() |
erjo@13493 | 18 { |
erjo@13493 | 19 PREFIX=$install/usr \ |
erjo@13493 | 20 CONFDIR=$install/etc \ |
erjo@13493 | 21 CACHEDIR=$install/var/cache/mindi ./install.sh |
erjo@13493 | 22 } |
erjo@13493 | 23 |
erjo@13493 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@13493 | 25 genpkg_rules() |
erjo@13493 | 26 { |
erjo@13493 | 27 mkdir -p $fs/usr |
erjo@13493 | 28 |
erjo@13493 | 29 cp -a $install/usr/sbin $fs/usr |
erjo@13493 | 30 cp -a $install/usr/lib $fs/usr |
erjo@13493 | 31 cp -a $install/etc $fs/ |
erjo@13493 | 32 cp -a $install/var $fs/ |
erjo@13493 | 33 |
erjo@13493 | 34 #Fix path |
erjo@13493 | 35 sed -i -e "s!$install/!/!" $fs/etc/mindi/perl-scripts |
erjo@13493 | 36 sed -i -e "s!$install/!/!" $fs/usr/sbin/mindi |
erjo@13493 | 37 sed -i -e "s!/usr/lib/isolinux.bin!/boot/isolinux/isolinux.bin!" $fs/usr/sbin/mindi |
erjo@13493 | 38 } |