summaryrefslogtreecommitdiffstats
path: root/package/parted
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2012-03-12 11:24:04 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-03-13 13:59:05 +0100
commitaa9f6a9b133104b54c1abc0db203c30b6c0ea364 (patch)
treeed5aa388c36e69e480fd7b0916834828b1139162 /package/parted
parentce6727f63046c49d5e778af72e7096ff2e3ad82c (diff)
downloadbuildroot-novena-aa9f6a9b133104b54c1abc0db203c30b6c0ea364.tar.gz
buildroot-novena-aa9f6a9b133104b54c1abc0db203c30b6c0ea364.zip
New package: parted
[Peter: needs largefile + wchar] Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/parted')
-rw-r--r--package/parted/Config.in14
-rw-r--r--package/parted/parted.mk13
2 files changed, 27 insertions, 0 deletions
diff --git a/package/parted/Config.in b/package/parted/Config.in
new file mode 100644
index 000000000..610c04022
--- /dev/null
+++ b/package/parted/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_PARTED
+ bool "parted"
+ depends on BR2_LARGEFILE
+ depends on BR2_USE_WCHAR
+ select BR2_PACKAGE_LVM2
+ select BR2_PACKAGE_READLINE
+ select BR2_PACKAGE_UTIL_LINUX
+ help
+ parted, the GNU partition resizing program
+
+ http://www.gnu.org/software/parted/
+
+comment "parted requires a toolchain with LARGEFILE+WCHAR support"
+ depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
diff --git a/package/parted/parted.mk b/package/parted/parted.mk
new file mode 100644
index 000000000..c4107e7b4
--- /dev/null
+++ b/package/parted/parted.mk
@@ -0,0 +1,13 @@
+#############################################################
+#
+# parted
+#
+#############################################################
+
+PARTED_VERSION = 3.1
+PARTED_SOURCE = parted-$(PARTED_VERSION).tar.xz
+PARTED_SITE = $(BR2_GNU_MIRROR)/parted
+PARTED_DEPENDENCIES = readline util-linux lvm2
+PARTED_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS))