summaryrefslogtreecommitdiff
path: root/package/libmpc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-13 09:53:09 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-13 09:53:09 +0200
commit851a4486f663ddb8acffd4dd870d4121290b35d5 (patch)
tree066dc4941721a59e0c824b343f31fb4dc1491988 /package/libmpc/Makefile
parent36e2dea8b335502fbbd367d7d09018bc58769a0e (diff)
parent8b3f03d90b56b35d818047e7ecad8d1423439736 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libmpc/Makefile')
-rw-r--r--package/libmpc/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/package/libmpc/Makefile b/package/libmpc/Makefile
index 1d976b17e..4c92d1fb1 100644
--- a/package/libmpc/Makefile
+++ b/package/libmpc/Makefile
@@ -9,14 +9,19 @@ PKG_SECTION:= libs
PKG_BUILDDEP:= gmp mpfr
PKG_URL:= http://www.multiprecision.org/
-PKG_SUBPKGS:= LIBMPC
+PKG_SUBPKGS:= LIBMPC LIBMPC_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}))
-post-install:
+libmpc-install:
${INSTALL_DIR} ${IDIR_LIBMPC}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libmpc.so* ${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