#!/bin/sh

. config/options

cd $BUILD/$1*

[ "$DEBUG" = yes ] && export CFLAGS="$CFLAGS -D_DLSYM_TRACE_NAME"

make
pkg_uses $1 devtools && make -C utils

installdir="`pwd`/.install"
mkdir -p $installdir
make PREFIX=$installdir install
