[Buildroot] [RFC v2 1/3] Rename package mpc to libmpc

Jörg Krause jkrause at posteo.de
Mon Jul 21 15:37:22 UTC 2014


Signed-off-by: Jörg Krause <jkrause at posteo.de>
---
 package/Config.in                 |  2 +-
 package/{mpc => libmpc}/Config.in |  4 ++--
 package/libmpc/libmpc.mk          | 16 ++++++++++++++++
 package/mpc/mpc.mk                | 15 ---------------
 4 files changed, 19 insertions(+), 18 deletions(-)
 rename package/{mpc => libmpc}/Config.in (87%)
 create mode 100644 package/libmpc/libmpc.mk
 delete mode 100644 package/mpc/mpc.mk

diff --git a/package/Config.in b/package/Config.in
index 703fd3d..9370d7c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -838,6 +838,7 @@ menu "Other"
 	source "package/libgc/Config.in"
 	source "package/libglib2/Config.in"
 	source "package/libical/Config.in"
+	source "package/libmpc/Config.in"
 	source "package/libnspr/Config.in"
 	source "package/libpfm4/Config.in"
 	source "package/libplist/Config.in"
@@ -855,7 +856,6 @@ menu "Other"
 	source "package/libuv/Config.in"
 	source "package/linux-pam/Config.in"
 	source "package/lttng-libust/Config.in"
-	source "package/mpc/Config.in"
 	source "package/mpfr/Config.in"
 	source "package/msgpack/Config.in"
 	source "package/mtdev2tuio/Config.in"
diff --git a/package/mpc/Config.in b/package/libmpc/Config.in
similarity index 87%
rename from package/mpc/Config.in
rename to package/libmpc/Config.in
index 8377013..e4b5e01 100644
--- a/package/mpc/Config.in
+++ b/package/libmpc/Config.in
@@ -1,5 +1,5 @@
-config BR2_PACKAGE_MPC
-	bool "mpc"
+config BR2_PACKAGE_LIBMPC
+	bool "libmpc"
 	select BR2_PACKAGE_MPFR
 	select BR2_PACKAGE_GMP
 	help
diff --git a/package/libmpc/libmpc.mk b/package/libmpc/libmpc.mk
new file mode 100644
index 0000000..1d0395d
--- /dev/null
+++ b/package/libmpc/libmpc.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# libmpc
+#
+################################################################################
+
+LIBMPC_VERSION = 1.0.2
+LIBMPC_SITE = $(BR2_GNU_MIRROR)/mpc
+LIBMPC_SOURCE = mpc-$(LIBMPC_VERSION).tar.gz
+LIBMPC_LICENSE = LGPLv3+
+LIBMPC_LICENSE_FILES = COPYING.LESSER
+LIBMPC_INSTALL_STAGING = YES
+LIBMPC_DEPENDENCIES = libgmp libmpfr
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))
diff --git a/package/mpc/mpc.mk b/package/mpc/mpc.mk
deleted file mode 100644
index 81ee5f0..0000000
--- a/package/mpc/mpc.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-################################################################################
-#
-# mpc
-#
-################################################################################
-
-MPC_VERSION = 1.0.2
-MPC_SITE = $(BR2_GNU_MIRROR)/mpc
-MPC_LICENSE = LGPLv3+
-MPC_LICENSE_FILES = COPYING.LESSER
-MPC_INSTALL_STAGING = YES
-MPC_DEPENDENCIES = gmp mpfr
-
-$(eval $(autotools-package))
-$(eval $(host-autotools-package))
-- 
2.0.2




More information about the buildroot mailing list