2011-01-09 18:44:38 +01:00
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
2016-01-02 17:29:56 +01:00
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
2011-01-09 18:44:38 +01:00
#
2013-12-21 21:51:48 +01:00
# OpenELEC is free software: you can redistribute it and/or modify
2011-01-09 18:44:38 +01:00
# it under the terms of the GNU General Public License as published by
2013-12-21 21:51:48 +01:00
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
2011-01-09 18:44:38 +01:00
#
2013-12-21 21:51:48 +01:00
# OpenELEC is distributed in the hope that it will be useful,
2011-01-09 18:44:38 +01:00
# but WITHOUT ANY WARRANTY; without even the implied warranty of
2013-12-21 21:51:48 +01:00
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2011-01-09 18:44:38 +01:00
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
2013-12-21 21:51:48 +01:00
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
2011-01-09 18:44:38 +01:00
################################################################################
2010-11-14 12:38:13 +01:00
PKG_NAME = "parted"
2014-08-04 02:02:23 +02:00
PKG_VERSION = "3.2"
2017-07-17 20:49:22 +02:00
PKG_SHA256 = "858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4"
2010-11-14 12:38:13 +01:00
PKG_ARCH = "any"
PKG_LICENSE = "GPL"
PKG_SITE = "http://www.gnu.org/software/parted/"
2016-09-14 10:25:44 +02:00
PKG_URL = " http://ftpmirror.gnu.org/parted/ $PKG_NAME - $PKG_VERSION .tar.xz "
2014-01-30 14:31:09 +01:00
PKG_DEPENDS_HOST = "toolchain util-linux:host"
PKG_DEPENDS_TARGET = "toolchain util-linux parted:host"
2014-09-23 15:25:13 +02:00
PKG_DEPENDS_INIT = "toolchain util-linux:init parted"
2010-11-14 12:38:13 +01:00
PKG_SECTION = "system"
PKG_SHORTDESC = "parted: GNU partition editor"
PKG_LONGDESC = "GNU Parted is a program for creating, destroying, resizing, checking and copying partitions, and the file systems on them. This is useful for creating space for new operating systems, reorganising disk usage, copying data between hard disks and disk imaging."
2013-09-26 20:40:40 +03:00
2013-10-11 20:01:20 +03:00
PKG_CONFIGURE_OPTS_TARGET = " --disable-device-mapper \
2014-09-20 14:05:24 +02:00
--disable-shared \
--without-readline \
--disable-rpath \
--with-gnu-ld"
2013-09-26 20:40:40 +03:00
2014-02-07 10:58:35 +02:00
PKG_CONFIGURE_OPTS_HOST = " $PKG_CONFIGURE_OPTS_TARGET "
2014-09-23 15:25:13 +02:00
c o n f i g u r e _ i n i t ( ) {
: # reuse configure_target()
}
m a k e _ i n i t ( ) {
: # reuse make_target()
}
2014-09-20 14:05:24 +02:00
m a k e i n s t a l l _ i n i t ( ) {
mkdir -p $INSTALL /sbin
2014-09-23 15:25:13 +02:00
cp ../.$TARGET_NAME /parted/parted $INSTALL /sbin
cp ../.$TARGET_NAME /partprobe/partprobe $INSTALL /sbin
2013-09-26 20:40:40 +03:00
}