Files
gentoo-zh/dev-embedded/at32workbench/at32workbench-1.2.03.ebuild
T
peeweep 2170d79fe6 dev-embedded/at32workbench: update LICENSE and add missing depend
as-is is a unknown license

Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
2026-03-13 22:32:43 +08:00

41 lines
805 B
Bash

# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="at32 workbench is a GUI tool for AT32 MCU startup code generation"
HOMEPAGE="https://www.arterytek.com/cn/support/tools.jsp"
SRC_URI="https://www.arterytek.com/download/AT32%20Workbench/AT32_Work_Bench_Linux-x86_64_V${PV}.zip"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"
DEPEND="
dev-qt/qtxml:5
dev-qt/qtwidgets:5
dev-qt/qtnetwork:5
dev-qt/qtprintsupport:5
"
RDEPEND="${DEPEND}"
BDEPEND=""
inherit unpacker
S="${WORKDIR}"
src_unpack(){
unpack ${A}
unpack ${WORKDIR}/AT32_Work_Bench_Linux-x86_64_V${PV}.deb
}
src_install(){
tar -xvf ${WORKDIR}/data.tar.xz -C "$D"
pushd ${D}/usr/local/AT32_Work_Bench
rm libQt5*
rm platforms -rf
}