0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-08 23:29:50 +00:00
Files
termux-packages/packages/parted/build.sh
2023-04-18 06:59:37 +09:00

19 lines
648 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/parted/
TERMUX_PKG_DESCRIPTION="Versatile partition editor"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=3.6
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/parted/parted-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=3b43dbe33cca0f9a18601ebab56b7852b128ec1a3df3a9b30ccde5e73359e612
TERMUX_PKG_DEPENDS="libblkid, libiconv, libuuid, ncurses, readline"
TERMUX_PKG_BREAKS="parted-dev"
TERMUX_PKG_REPLACES="parted-dev"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-device-mapper
"
termux_step_pre_configure() {
CFLAGS+=" -Wno-gnu-designator"
export LIBS="-liconv"
}