# SliTaz package receipt. PACKAGE="mpc-library" VERSION="1.0.1" CATEGORY="development" SHORT_DESC="MPC is a C library for the arithmetic of complex numbers." MAINTAINER="pankso@slitaz.org" SOURCE="mpc" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.multiprecision.org/" WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" DEPENDS="mpfr gmp" BUILD_DEPENDS="mpfr-dev gmp-dev" compile_rules() { cd $src ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/lib $fs/usr cp -a $_pkg/usr/include $fs/usr }