summaryrefslogtreecommitdiff
path: root/packages/parted/parted_1.8.8.bb
blob: 4eb8aa5ca292d5fcbc3181c9b48539b21b459af9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
DESCRIPTION = "parted, the GNU partition resizing program"
HOMEPAGE = "http://www.gnu.org/software/parted/parted.html"
LICENSE = "GPLv3"
SECTION = "console/tools"
DEPENDS = "readline e2fsprogs-libs"

PR = "r2"

SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.gz \
           file://syscalls.h \
           file://syscalls.patch;patch=1 \
	   file://use_llseek_syscall.patch;patch=1 \
	   file://parted-1.8.x.patch;patch=1 \
"
           
EXTRA_OECONF = "--disable-Werror ac_cv_func_calloc_0_nonnull=yes"

inherit autotools pkgconfig

do_configure_prepend() {
	cp ${WORKDIR}/syscalls.h ${S}/libparted/arch/
}

do_stage() {
	autotools_stage_all
}