Changeset 1805 for projects


Ignore:
Timestamp:
Dec 29, 2013, 7:32:15 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • mindi-busybox is now built fully under /usr and packge build call the new post install script
Location:
projects/mondorescue/pbconf/branches/3.2/mindi-busybox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • projects/mondorescue/pbconf/branches/3.2/mindi-busybox/deb/rules

    r1387 r1805  
    55# Uncomment this to turn on verbose mode.
    66#export DH_VERBOSE=1
     7export DESTDIR=$(CURDIR)/debian/$(PACKAGE_NAME)/usr/lib/mindi/rootfs
    78
    89# Define package name for a one-stop change.
     
    5556    # Install the package files into build directory:
    5657    # - start with upstream make install
    57     $(MAKE) install CONFIG_PREFIX=$(CURDIR)/debian/$(PACKAGE_NAME)/usr/lib/mindi/rootfs
     58    $(MAKE) install CONFIG_PREFIX=$(DESTDIR)
     59    ./mondo-install.sh
    5860    # - copy doc
    5961    mkdir -p debian/doc-temp
  • projects/mondorescue/pbconf/branches/3.2/mindi-busybox/ebuild/mindi-busybox.ebuild

    r1202 r1805  
    1414RDEPEND=">=app-arch/bzip2-0.9
    1515        sys-devel/binutils"
     16export DESTDIR="${D}/usr/lib/mindi/rootfs"
    1617
    1718src_unpack() {
     
    2829src_install() {
    2930    # bundle up the symlink files for use later
    30     emake CONFIG_PREFIX="${D}/usr/lib/mindi/rootfs" install || die
     31    emake CONFIG_PREFIX="${DESTDIR}" install || die
     32    ./mondo-install.sh || die
    3133}
  • projects/mondorescue/pbconf/branches/3.2/mindi-busybox/rpm/mindi-busybox.spec

    r1789 r1805  
    2828rm  -rf $RPM_BUILD_ROOT
    2929
    30 DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
     30export DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs
    3131make CONFIG_PREFIX=$DESTDIR install
     32# Make it compatible with latest crazy /bin removal
     33./mondo-install.sh
    3234
    3335%clean
Note: See TracChangeset for help on using the changeset viewer.