#!/bin/sh

. config/options $1

mkdir -p $INSTALL/usr/bin
  cp $PKG_BUILD/.build-target/src/.libs/file $INSTALL/usr/bin

mkdir -p $INSTALL/usr/lib
  cp -P $PKG_BUILD/.build-target/src/.libs/libmagic.so* $INSTALL/usr/lib

mkdir -p $INSTALL/usr/share/misc
  cp $PKG_BUILD/.build-target/magic/magic.mgc $INSTALL/usr/share/misc
