SRC_FETCH_METHOD=http SRC_FETCH_PATH="https://sourceware.org/pub/valgrind/${PKGRADIX}-${PKGVER}.tar.bz2" function do_config { ./configure --build=${FLXHOST} --host=${FLXTARG} --prefix=/tmp/valgrind --enable-only64bit } function do_strip { : } function do_compile_only { $FLXPMAKE } function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR ( cd "${ROOTDIR}/tmp/valgrind" && rm -fr libexec/valgrind share/doc share/man include lib/valgrind/{s390,s390x,power,power64,powerpc,mips,mips64,arm}-* ) set_default_perm $ROOTDIR }