Changeset 42


Ignore:
Timestamp:
Jul 5, 2010, 9:32:53 PM (9 years ago)
Author:
amain
Message:

Fix latest problems libnl package

Location:
debwrt/trunk/debian/package/libnl
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • debwrt/trunk/debian/package/libnl/debian/libnl-dev.install

    r40 r42  
    11usr/include/*
    2 usr/lib/lib*.a
    3 usr/lib/lib*.so
    42usr/lib/pkgconfig/*
    5 usr/lib/*.la
    6 usr/share/pkgconfig/*
  • debwrt/trunk/debian/package/libnl/debian/rules

    r40 r42  
    2222
    2323# debwrt: find the linux headers
    24 CFLAGS:=$(CFLAGS) -I/usr/src/linux-headers-2.6.32.14
     24#CFLAGS:=$(CFLAGS) -I/usr/src/linux-headers-2.6.32.14
     25CFLAGS:=$(CFLAGS) -I/usr/src/linux
    2526
    2627
     
    8990        dh_installdocs
    9091        dh_installexamples
    91 #       dh_install
     92        dh_install
    9293#       dh_installmenu
    9394#       dh_installdebconf       
  • debwrt/trunk/debian/package/libnl/libnl.sh

    r40 r42  
    1818DEP=
    1919
    20 BUILD_BASE_DIR=/usr/src
     20BASE_DIR=/usr/src
     21BUILD_BASE_DIR=${BASE_DIR}/${PACKAGE}
    2122BUILD_DIR=${BUILD_BASE_DIR}/${PACKAGE}-${VERSION}
    22 DOWNLOAD_DIR=${BUILD_BASE_DIR}/dl
     23DOWNLOAD_DIR=${BASE_DIR}/dl
    2324
    2425mkdir -p $DOWNLOAD_DIR
    25 
    26 rm -f ${DOWNLOAD_DIR}/${PACKAGE_SOURCE}
    2726rm -rf ${BUILD_DIR}
    2827mkdir -p ${BUILD_DIR}
    29 if [ ! -e ${DOWNLOAD_DIR}/${PACKAGE_SOURCE} ]; then wget -O ${DOWNLOAD_DIR}/${PACKAGE_SOURCE} $DOWNLOAD_URL; fi
     28if [ ! -s ${DOWNLOAD_DIR}/${PACKAGE_SOURCE} ]; then rm -f ${DOWNLOAD_DIR}/${PACKAGE_SOURCE}; wget -O ${DOWNLOAD_DIR}/${PACKAGE_SOURCE} $DOWNLOAD_URL; fi
    3029tar xzf ${DOWNLOAD_DIR}/${PACKAGE_SOURCE} -C ${BUILD_DIR} --strip 1
    3130cp -rav debian ${BUILD_DIR}
    3231cd ${BUILD_DIR}
    33 dpkg-buildpackage -amipsel
     32dpkg-buildpackage -amipsel -rfakeroot
     33find ${BUILD_BASE_DIR} -maxdepth 1 -name "*.deb"  | xargs -r -t -i sudo dpkg-cross -a mipsel -i {}
    3434
Note: See TracChangeset for help on using the changeset viewer.