Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "Tune low-level block device parameters" |
| 2 | DESCRIPTION = "blktool is used for querying and/or changing settings \ |
| 3 | of a block device. It is like hdparm but a more general tool, as it \ |
| 4 | works on SCSI, IDE and SATA devices." |
| 5 | HOMEPAGE = "http://packages.debian.org/unstable/admin/blktool" |
| 6 | LICENSE = "GPLv2+" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
| 8 | file://blktool.c;beginline=7;endline=8;md5=a5e798ea98fd50972088968a15e5f373" |
| 9 | |
| 10 | DEPENDS = "glib-2.0" |
| 11 | |
| 12 | SRC_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 | |
| 19 | SRC_URI[tarball.md5sum] = "62edc09c9908107e69391c87f4f3fd40" |
| 20 | SRC_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 |
| 24 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/b/blktool/" |
| 25 | UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)" |
| 26 | |
| 27 | S = "${WORKDIR}/${BPN}-4.orig" |
| 28 | |
| 29 | inherit autotools pkgconfig |