sci-libs/cqrlib - 1.1.4 (gentoo)

Search

Package Information

Description:
Utility library for quaternion arithmetic / rotation math (ANSI C implemented)
Homepage:
http://cqrlib.sourceforge.net/
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
1.1.4 8 amd64 ~ppc ~x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

MY_PN=CQRlib
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Utility library for quaternion arithmetic / rotation math (ANSI C implemented)"
HOMEPAGE="http://cqrlib.sourceforge.net/"
SRC_URI="https://github.com/yayahjb/${PN}/archive/${MY_P}/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~ppc ~x86"
IUSE=""

RDEPEND="dev-libs/cvector"
DEPEND="${RDEPEND}"

DOCS=( README_CQRlib.txt )
HTML_DOCS=( README_CQRlib.html )

S="${WORKDIR}"/${PN}-${MY_P}

PATCHES=(
	"${FILESDIR}/${PV}-libtool.patch" # 778911
	"${FILESDIR}/${PV}-build.patch"
)

src_prepare() {
	default
	eautoreconf
}

src_compile() {
	emake all
}

src_test() {
	emake tests
}

src_install() {
	emake install DESTDIR="${D}"
	einstalldocs
	find "${D}" -name '*.la' -delete || die
}

Dependencies

DEPEND

dev-libs/cvector

RDEPEND

dev-libs/cvector

Manifest for 1.1.4

Type File Size Source URLs
DIST cqrlib-1.1.4.tar.gz 41521 bytes https://github.com/yayahjb/cqrlib/archive/CQRlib-1.1.4/cqrlib-1.1.4.tar.gz