buildSrc/crosslibs/crosslibs-armv6hf.sh

Print this page
rev 8895 : RT-40781: change crosslibs script to force known distro
Reviewed-by:


 211 
 212     # Install an alternative pkg-config
 213         mkdir -p bin || exit 1
 214         cp $SCRIPTDIR/pkg-config bin || exit 1
 215         chmod +x bin/pkg-config || exit 1
 216 
 217     # Patch package configuration files
 218         find usr -name "*.pc" | xargs sed -i -e "s:=/usr/:=\${prefix}/:"
 219         if [[ ! $? -eq 0 ]]; then
 220             echo pkg-config patch failed.
 221             exit 1
 222         fi
 223 
 224 }
 225 
 226 installLibs() {
 227     DESTINATION=$DEST_VERSION
 228 
 229     getPackages  \
 230         $DESTINATION \
 231         http://ftp.us.debian.org/debian/ stable main armhf \
 232             libatk1.0-dev \
 233             libatk1.0-0 \
 234             libc6 \
 235             libc-bin \
 236             libgcc1 \
 237             libglib2.0-0 \
 238             libffi5 \
 239             libpcre3 \
 240             libselinux1 \
 241             zlib1g \
 242             libatk1.0-data \
 243             libgirepository-1.0-1 \
 244             pkg-config \
 245             libpopt0 \
 246             libglib2.0-dev \
 247             libglib2.0-bin \
 248             libelf1 \
 249             libglib2.0-data \
 250             libpcre3-dev \
 251             libc6-dev \




 211 
 212     # Install an alternative pkg-config
 213         mkdir -p bin || exit 1
 214         cp $SCRIPTDIR/pkg-config bin || exit 1
 215         chmod +x bin/pkg-config || exit 1
 216 
 217     # Patch package configuration files
 218         find usr -name "*.pc" | xargs sed -i -e "s:=/usr/:=\${prefix}/:"
 219         if [[ ! $? -eq 0 ]]; then
 220             echo pkg-config patch failed.
 221             exit 1
 222         fi
 223 
 224 }
 225 
 226 installLibs() {
 227     DESTINATION=$DEST_VERSION
 228 
 229     getPackages  \
 230         $DESTINATION \
 231         http://ftp.us.debian.org/debian/ wheezy main armhf \
 232             libatk1.0-dev \
 233             libatk1.0-0 \
 234             libc6 \
 235             libc-bin \
 236             libgcc1 \
 237             libglib2.0-0 \
 238             libffi5 \
 239             libpcre3 \
 240             libselinux1 \
 241             zlib1g \
 242             libatk1.0-data \
 243             libgirepository-1.0-1 \
 244             pkg-config \
 245             libpopt0 \
 246             libglib2.0-dev \
 247             libglib2.0-bin \
 248             libelf1 \
 249             libglib2.0-data \
 250             libpcre3-dev \
 251             libc6-dev \