summaryrefslogtreecommitdiff
path: root/package/mpc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-15 12:35:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-15 12:35:48 +0200
commit7c38c7a7843d881837f000b9465bd59a0e918f7f (patch)
tree738c19bacd1c0dd4f939298ceaf59013a76dc6f6 /package/mpc/Makefile
parentcad729cef7e4226eb09ca510546776ac4e8b551d (diff)
parent7838fca0479a0d4affcb245ec042ead7ae1d7b3b (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/mpc/Makefile')
-rw-r--r--package/mpc/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/mpc/Makefile b/package/mpc/Makefile
new file mode 100644
index 000000000..ef82baa7c
--- /dev/null
+++ b/package/mpc/Makefile
@@ -0,0 +1,19 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+include ${TOPDIR}/toolchain/mpc/Makefile.inc
+
+PKG_DESCR:= GNU multiprecision arithmetic library
+PKG_SECTION:= libs
+PKG_URL:= http://www.multiprecision.org/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBMPC,libmpc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBMPC}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libmpc.so* ${IDIR_LIBMPC}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk