# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/lockdev/lockdev-1.0.3.1.2-r1.ebuild,v 1.5 2013/08/08 20:13:15 jcallen Exp $ EAPI="2" GENTOO_DEPEND_ON_PERL="no" inherit toolchain-funcs base perl-module eutils versionator autotools MAJOR=$(get_major_version) MY_PV=$(get_version_component_range 1-3) MY_P=${PN}-${MY_PV} DEB_PV=$(replace_version_separator 3 '-') DEB_P=${PN}_${DEB_PV} DESCRIPTION="Library for locking devices" HOMEPAGE="http://packages.debian.org/source/sid/lockdev" SRC_URI=" mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}.orig.tar.gz mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}.diff.gz " LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ~arm x86" IUSE="perl" DEPEND=" perl? ( || ( >=dev-lang/perl-5.16