diff options
Diffstat (limited to 'package/libmpc')
-rw-r--r-- | package/libmpc/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/package/libmpc/Makefile b/package/libmpc/Makefile index 4c92d1fb1..0a0baeb5c 100644 --- a/package/libmpc/Makefile +++ b/package/libmpc/Makefile @@ -4,24 +4,20 @@ include ${TOPDIR}/rules.mk include ${TOPDIR}/toolchain/mpc/Makefile.inc +PKG_NAME:= mpc PKG_DESCR:= GNU multiprecision arithmetic library PKG_SECTION:= libs PKG_BUILDDEP:= gmp mpfr PKG_URL:= http://www.multiprecision.org/ - -PKG_SUBPKGS:= LIBMPC LIBMPC_DEV +PKG_LIBNAME:= libmpc +PKG_OPTS:= dev include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,LIBMPC,libmpc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,LIBMPC_DEV,libmpc-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,LIBMPC,libmpc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) libmpc-install: ${INSTALL_DIR} ${IDIR_LIBMPC}/usr/lib ${CP} ${WRKINST}/usr/lib/libmpc.so* ${IDIR_LIBMPC}/usr/lib -libmpc-dev-install: - ${INSTALL_DIR} ${IDIR_LIBMPC_DEV}/usr/include - ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBMPC_DEV}/usr/include - include ${TOPDIR}/mk/pkg-bottom.mk |