blob: 4551c3233e98ecec9ea450f1511e19fb3cd0da96 [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 \
16 "
17
18SRC_URI[tarball.md5sum] = "62edc09c9908107e69391c87f4f3fd40"
19SRC_URI[tarball.sha256sum] = "b1e6d5912546d2a4b704ec65c2b9664aa3b4663e7d800e06803330335a2cb764"
20
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050021# for this package we're mostly interested in tracking debian patches,
22# and not in the upstream version where all development has effectively stopped
Patrick Williamsc0f7c042017-02-23 20:41:17 -060023UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/b/blktool/"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050024UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)"
25
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026S = "${WORKDIR}/${BPN}-4.orig"
27
28inherit autotools pkgconfig