From d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 20:02:02 +0100 Subject: added deps for qemu --- repo/parted/parted.xibuild | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 repo/parted/parted.xibuild (limited to 'repo/parted/parted.xibuild') diff --git a/repo/parted/parted.xibuild b/repo/parted/parted.xibuild new file mode 100644 index 0000000..1fd2222 --- /dev/null +++ b/repo/parted/parted.xibuild @@ -0,0 +1,37 @@ +#!/bin/sh + +NAME="parted" +DESC="Utility to create, destroy, resize, check and copy partitions" + +MAKEDEPS="readline ncurses lvm2 bash util-linux" + +PKG_VER=3.4 +SOURCE="https://ftp.gnu.org/gnu/parted/parted-$PKG_VER.tar.xz" + +ADDITIONAL=" +fix-includes.patch +fix-libintl-header-s390x.patch +make-tests.patch +parted-include-sysmacros.patch +skip-duplicate-bsd-test-on-s390x.patch +" + +prepare () { + apply_patches +} + +build() { + ./configure \ + --prefix=/usr \ + --enable-debug \ + --disable-nls \ + --disable-static \ + --enable-shared + make +} + +package() { + make DESTDIR="$PKG_DEST" install + rm -rf "$PKG_DEST"/usr/lib/charset.alias + rmdir -p "$PKG_DEST"/usr/lib 2>/dev/null || true +} -- cgit v1.2.1