aboutsummaryrefslogtreecommitdiff
path: root/community/parted
diff options
context:
space:
mode:
Diffstat (limited to 'community/parted')
-rwxr-xr-xcommunity/parted/build15
-rw-r--r--community/parted/checksums2
-rw-r--r--community/parted/depends1
-rw-r--r--community/parted/meta3
-rw-r--r--community/parted/sources1
-rw-r--r--community/parted/version1
6 files changed, 23 insertions, 0 deletions
diff --git a/community/parted/build b/community/parted/build
new file mode 100755
index 00000000..754547ca
--- /dev/null
+++ b/community/parted/build
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+export LDFLAGS="$LDFLAGS -static"
+
+./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --disable-nls \
+ --disable-rpath \
+ --disable-device-mapper \
+ "--with$(cpt l -C readline '' out)-readline"
+
+# I hate it when build systems don't adhere to flags.
+make CC="${CC:-cc} --static"
+make DESTDIR="$1" install
diff --git a/community/parted/checksums b/community/parted/checksums
new file mode 100644
index 00000000..ce561717
--- /dev/null
+++ b/community/parted/checksums
@@ -0,0 +1,2 @@
+%BLAKE3
+30815d1a15a87a1d95aa1b3bb167662e17e244f9c262cabc79c4131d4a7bd0c6 parted-3.6.tar.xz
diff --git a/community/parted/depends b/community/parted/depends
new file mode 100644
index 00000000..ba452e57
--- /dev/null
+++ b/community/parted/depends
@@ -0,0 +1 @@
+util-linux make
diff --git a/community/parted/meta b/community/parted/meta
new file mode 100644
index 00000000..353d1ee0
--- /dev/null
+++ b/community/parted/meta
@@ -0,0 +1,3 @@
+description: Disk partition resizing program
+license: GPL-3.0-or-later
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/community/parted/sources b/community/parted/sources
new file mode 100644
index 00000000..fd1220c7
--- /dev/null
+++ b/community/parted/sources
@@ -0,0 +1 @@
+https://ftp.gnu.org/gnu/parted/parted-3.6.tar.xz
diff --git a/community/parted/version b/community/parted/version
new file mode 100644
index 00000000..712a0c0b
--- /dev/null
+++ b/community/parted/version
@@ -0,0 +1 @@
+3.6 1