#!/bin/sh -x # It will run with two args: buildroot spec BUILDROOT="$1" SPEC="$2" PRODUCT=winbox . $(dirname $0)/common.sh add_bin_link_command $PRODUCT /opt/$PRODUCT/WinBox cat <<EOF | create_file /usr/share/applications/$PRODUCT.desktop [Desktop Entry] Name=WinBox Exec=$PRODUCT %F Type=Application StartupNotify=true Icon=$PRODUCT StartupWMClass=winbox Categories=Network EOF install_file $PRODUCTDIR/assets/img/$PRODUCT.png /usr/share/pixmaps/$PRODUCT.png add_libs_requires