blob: f747ecbf72d400d28ea6269eb3a47f8dd22af484 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "ATA S.M.A.R.T. Reading and Parsing Library"
Andrew Geissler9aee5002022-03-30 16:27:02 +00002LICENSE = "LGPL-2.1-only"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05003LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1"
4
5DEPENDS = "udev"
6
7SRCREV = "de6258940960443038b4c1651dfda3620075e870"
Andrew Geissler595f6302022-01-24 19:11:47 +00008SRC_URI = "git://git.0pointer.de/libatasmart.git;branch=master \
Brad Bishop6e60e8b2018-02-01 10:27:11 -05009 file://0001-Makefile.am-add-CFLAGS-and-LDFLAGS-definiton.patch \
10"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011
12S = "${WORKDIR}/git"
13
14inherit autotools lib_package pkgconfig
15
Patrick Williams213cb262021-08-07 19:21:33 -050016do_install:append() {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017 sed -i -e s://:/:g -e 's:=${libdir}/libudev.la:-ludev:g' ${D}${libdir}/libatasmart.la
18}
19
20PACKAGES =+ "${PN}-dev-vala"
Patrick Williams213cb262021-08-07 19:21:33 -050021FILES:${PN}-dev-vala = "${datadir}/vala"