Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [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 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 12 | SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/b/${BPN}/${BPN}_4.orig.tar.gz;name=tarball \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 16 | file://blktool-gnulib-makedev.patch \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | " |
| 18 | |
| 19 | SRC_URI[tarball.md5sum] = "62edc09c9908107e69391c87f4f3fd40" |
| 20 | SRC_URI[tarball.sha256sum] = "b1e6d5912546d2a4b704ec65c2b9664aa3b4663e7d800e06803330335a2cb764" |
| 21 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 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 |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 24 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/b/blktool/" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 25 | UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)" |
| 26 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 27 | S = "${WORKDIR}/${BPN}-4.orig" |
| 28 | |
| 29 | inherit autotools pkgconfig |