aboutsummaryrefslogtreecommitdiff
path: root/community/parted/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-08-16 22:49:31 +0300
committerCem Keylan <cem@ckyln.com>2021-08-16 22:49:31 +0300
commit4b5a37f7f52606515a83aaca55c33714f6095129 (patch)
treeacd9d976296b5a051af5215a0f4f37ef2002d55a /community/parted/build
parentbe52bdbe7dbde3412e52a4a5ae6a0bfc8f7995aa (diff)
downloadrepository-4b5a37f7f52606515a83aaca55c33714f6095129.tar.gz
parted: add new package at 3.4
Diffstat (limited to 'community/parted/build')
-rwxr-xr-xcommunity/parted/build14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/parted/build b/community/parted/build
new file mode 100755
index 00000000..4ade35be
--- /dev/null
+++ b/community/parted/build
@@ -0,0 +1,14 @@
+#!/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"
+
+make
+make DESTDIR="$1" install