# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="4" inherit autotools eutils DESCRIPTION="HAL Flash compatibility library" HOMEPAGE="https://github.com/cshorler/hal-flash" MY_PV=${PV/_p/rc} MY_P="${PN}_${MY_PV}" SRC_URI="https://build.opensuse.org/package/rawsourcefile/home:chorler/hal-flash/${MY_P}.tar.gz" LICENSE="GPL-2" KEYWORDS="~amd64" SLOT="0" IUSE="" DEPEND="sys-fs/udisks" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P} src_prepare() { eautoreconf } src_install() { dolib.so "${S}"/src/.libs/libhal.so.1.0.0 dosym libhal.so.1.0.0 /usr/$(get_libdir)/libhal.so || die dosym libhal.so.1.0.0 /usr/$(get_libdir)/libhal.so.1 || die dosym libhal.so.1.0.0 /usr/$(get_libdir)/libhal.so.1.0 || die dodoc README }