blob: 0e6f7ee6df1dab6a1178bfd93351f2fc669440c5 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "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 = "GPLv2+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
8 file://blktool.c;beginline=7;endline=8;md5=a5e798ea98fd50972088968a15e5f373"
9
10DEPENDS = "glib-2.0"
11
Patrick Williamsc0f7c042017-02-23 20:41:17 -060012SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/b/${BPN}/${BPN}_4.orig.tar.gz;name=tarball \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013 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 \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016 file://blktool-gnulib-makedev.patch \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017 "
18
19SRC_URI[tarball.md5sum] = "62edc09c9908107e69391c87f4f3fd40"
20SRC_URI[tarball.sha256sum] = "b1e6d5912546d2a4b704ec65c2b9664aa3b4663e7d800e06803330335a2cb764"
21
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050022# for this package we're mostly interested in tracking debian patches,
23# and not in the upstream version where all development has effectively stopped
Patrick Williamsc0f7c042017-02-23 20:41:17 -060024UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/b/blktool/"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050025UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)"
26
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027S = "${WORKDIR}/${BPN}-4.orig"
28
29inherit autotools pkgconfig