Changeset 103


Ignore:
Timestamp:
Sep 4, 2010, 5:40:15 PM (8 years ago)
Author:
amain
Message:

package libpar2: fix cross-compile dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debwrt/trunk/debian/package/libpar2/build.sh

    r102 r103  
    1414
    1515PACKAGE=libpar2
    16 RELEASE=1
    1716
    1817BASE_DIR=/usr/src
     
    2019
    2120# install build dependencies
    22 sudo apt-get build-dep libpar2
    23 sudo apt-get install libsigc++0c2
     21apt-cross -a mipsel -i libsigc++-2.0-dev
    2422
     23# get the sources
    2524rm -rf ${BUILD_DIR}
    2625mkdir -p ${BUILD_BASE_DIR}
     
    3736done
    3837
     38# build debian package
    3939cd ${BUILD_DIR}
    4040dpkg-buildpackage -a${ARCH} -rfakeroot
    41 find ${BUILD_BASE_DIR} -maxdepth 1 -name "*.deb"  | xargs -r -t -i sudo dpkg-cross -a ${ARCH} -i {} || true
    4241
     42# nuild and install deb cross packages
     43cd ${BUILD_BASE_DIR}
     44find ${BUILD_BASE_DIR} -maxdepth 1 -name "*.deb"  | grep -v _all.deb | xargs -r -t sudo dpkg-cross -a ${ARCH} -b || true
     45find ${BUILD_BASE_DIR} -maxdepth 1 -name "*.deb"  | grep    _all.deb | xargs -r -t sudo dpkg -i                  || true
     46
Note: See TracChangeset for help on using the changeset viewer.