xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/blktool/blktool_4-7.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Tune low-level block device parameters"
2DESCRIPTION = "blktool is used for querying and/or changing settings \
3of a block device. It is like hdparm but a more general tool, as it \
4works on SCSI, IDE and SATA devices."
5HOMEPAGE = "http://packages.debian.org/unstable/admin/blktool"
6LICENSE = "GPL-2.0-or-later"
7LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
8                    file://blktool.c;beginline=7;endline=8;md5=a5e798ea98fd50972088968a15e5f373"
9
10DEPENDS = "glib-2.0"
11
12SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/b/${BPN}/${BPN}_4.orig.tar.gz;name=tarball \
13           file://0001-fix-typos-in-manpage.patch \
14           file://0002-fix-string-error.patch \
15           file://0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch \
16           file://0004-fix-ftbfs-glibc-2.28.patch \
17          "
18
19SRC_URI[tarball.md5sum] = "62edc09c9908107e69391c87f4f3fd40"
20SRC_URI[tarball.sha256sum] = "b1e6d5912546d2a4b704ec65c2b9664aa3b4663e7d800e06803330335a2cb764"
21
22# for this package we're mostly interested in tracking debian patches,
23# and not in the upstream version where all development has effectively stopped
24UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/b/blktool/"
25UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)"
26
27S = "${WORKDIR}/${BPN}-4.orig"
28
29inherit autotools pkgconfig
30