# Template file for 'libmpc' pkgname=libmpc version=1.3.0 revision=2 bootstrap=yes build_style=gnu-configure makedepends="gmp-devel mpfr-devel" short_desc="C library for the arithmetic of complex numbers" maintainer="Gonzalo TornarĂ­a " license="LGPL-3.0-or-later" homepage="https://www.multiprecision.org/mpc/" changelog="https://gitlab.inria.fr/mpc/mpc/-/raw/master/NEWS" distfiles="${GNU_SITE}/mpc/mpc-${version}.tar.gz" checksum=0e3b12181d37207230f5a7a7ddcfc22abfc5fc9c05825e1a65401a489a432a2a if [ -z "$CHROOT_READY" ]; then CFLAGS="-I${XBPS_MASTERDIR}/usr/include" LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib" fi post_install() { mv ${DESTDIR}/usr/share/info/{mpc,libmpc}.info } libmpc-devel_package() { depends="${makedepends} libmpc>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove "usr/lib/*.a" vmove "usr/lib/*.so" vmove usr/share } }