Changeset 1000 in ProjectBuilder


Ignore:
Timestamp:
Mar 22, 2010, 10:16:39 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3758@hp92763293260: bruno | 2010-03-17 15:09:33 +0100

  • Adds a new MINDI_CONF for mondo install of mindi conf file


Location:
projects/mondorescue/pbconf/branches/2.2.10
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • projects/mondorescue/pbconf/branches/2.2.10/mindi/pbinit

    r554 r1000  
    11#!/usr/bin/perl -w
    22#
    3 # Init script for mondo with Project-Builder
     3# Init script for mindi with Project-Builder
    44#
    55use ProjectBuilder::CMS;
     
    2323
    2424pb_cms_export($uri,"$ENV{'PBDIR'}/mondo-doc/mindi.8",".");
    25 # should call filter_file here
    2625
    2726my $ptr = pb_get_filters($pb{'pkg'});
  • projects/mondorescue/pbconf/branches/2.2.10/mondo/deb/rules

    r384 r1000  
    4545
    4646    # Compile the package.
    47     $(MAKE)
     47    $(MAKE) VERSION=PBVER
    4848
    4949    touch build-stamp
     
    8787    # Install the package files into build directory:
    8888    # - start with upstream make install
    89     $(MAKE) install prefix=$(CURDIR)/debian/$(PACKAGE_NAME)/usr mandir=$(CURDIR)/debian/$(PACKAGE_NAME)/usr/share/man
     89    $(MAKE) install MINDI_CONF=/etc/mindi prefix=$(CURDIR)/debian/$(PACKAGE_NAME)/usr mandir=$(CURDIR)/debian/$(PACKAGE_NAME)/usr/share/man
    9090    # - copy html manual to temporary location for renaming
    9191    mkdir -p debian/doc-temp
  • projects/mondorescue/pbconf/branches/2.2.10/mondo/ebuild/mondo-rescue.ebuild

    r998 r1000  
    4545
    4646src_install() {
    47     make install DESTDIR="${D}" || die "make install failed"
     47    make install DESTDIR="${D}" MINDI_CONF=/etc/mindi || die "make install failed"
    4848    mkdir -p "${D}/var/cache/mondo"
    4949    exeinto /usr/share/mondo
  • projects/mondorescue/pbconf/branches/2.2.10/mondo/rpm/mondo.spec

    r998 r1000  
    6363%install
    6464rm -rf $RPM_BUILD_ROOT
    65 make DESTDIR=$RPM_BUILD_ROOT install
     65make DESTDIR=$RPM_BUILD_ROOT MINDI_CONF=%{_sysconfdir}/mindi install
    6666mkdir -p $RPM_BUILD_ROOT/%{_var}/cache/%{name}
    6767
     
    7171%files
    7272%defattr(-,root,root)
     73%config(noreplace) %{_sysconfdir}/mindi/deplist.d/*
     74
    7375%doc ChangeLog
    7476#svn.log
Note: See TracChangeset for help on using the changeset viewer.