summaryrefslogtreecommitdiff
path: root/package/libmpc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-16 14:34:49 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-16 14:34:49 +0200
commitb2c9a66e24f94f3f9e9602baeb8925e0db5fb306 (patch)
tree5539756a40daca29a3215376c85ef9d0797ade4c /package/libmpc/Makefile
parent998bb7ac652581d6ef3a5821aa8dcb6a3a95ecdb (diff)
parentf6dd446a3d030a424ff25e1213ab7d55abdcd86d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libmpc/Makefile')
-rw-r--r--package/libmpc/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/libmpc/Makefile b/package/libmpc/Makefile
new file mode 100644
index 000000000..ef82baa7c
--- /dev/null
+++ b/package/libmpc/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