1#!/bin/bash 2 3if [ $# -ne 1 ]; then 4 echo "usage: $0 <recipe>" 5 exit 1 6fi 7 8export GENERATED=$WORKPATH/generated.$TARGET_ARCH 9export LD_LIBRARY_PATH=$GENERATED/objects/linux/lib/:$LD_LIBRARY_PATH 10 11$WORKPATH/src/haikuporter/haikuporter --config=$GENERATED/objects/haiku/$TARGET_ARCH/packaging/repositories/HaikuPortsCross-build/haikuports.conf \ 12 --cross-devel-package $GENERATED/objects/haiku/$TARGET_ARCH/packaging/packages/haiku_cross_devel_sysroot_stage1_$TARGET_ARCH.hpkg $1 13