You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/teakra/teakra-20220224.ebuild

38 lines
779 B

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
H=01db7cdd00aabcce559a8dddce8798dabb71949b
inherit cmake
DESCRIPTION="Emulator, assembler, etc for XpertTeak, the DSP used by DSi/3DS"
HOMEPAGE="https://github.com/wwylele/teakra/"
SRC_URI="https://github.com/wwylele/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${H}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_configure() {
local mycmakeargs=(
-DCMAKE_SKIP_RPATH=ON
)
cmake_src_configure
}
src_test() {
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:"${BUILD_DIR}"/src/ cmake_src_test
}
src_install() {
dolib.so "${BUILD_DIR}"/src/lib${PN}.so "${BUILD_DIR}"/src/lib${PN}_c.so
insinto /usr/include
doins -r include/${PN}
einstalldocs
}