1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 MY_PN="libapt-pkg-perl"
11 DESCRIPTION="Perl interface to libapt-pkg"
12 HOMEPAGE="http://packages.qa.debian.org/libapt-pkg-perl"
13 SRC_URI="mirror://debian/pool/main/liba/${MY_PN}/${MY_PN}_${PV}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
20 RDEPEND="sys-apps/apt[apt-pkg]
22 virtual/perl-Scalar-List-Utils"
23 DEPEND="virtual/perl-ExtUtils-MakeMaker
26 S="${WORKDIR}/${MY_PN}-${PV}"
29 # MakeMaker does not respect CC/CXX
30 mymake=( CC=$(tc-getCXX) )
31 perl-module_src_compile
35 perl-module_src_install
36 # Install coding examples
37 dodoc debian/changelog