summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Schultz <mattsch@gmail.com>2012-12-04 17:37:45 -0600
committerMatthew Schultz <mattsch@gmail.com>2012-12-04 17:37:45 -0600
commit3708108a445ec39b985e4ba473feab4489073b90 (patch)
tree7e360b55e53cd29d9e32620bf7430f498ea784fc /dev-perl
parentsys-apps/apt: Changed udev dependency to the new virtual udev dependency. (diff)
downloadsunrise-reviewed-3708108a445ec39b985e4ba473feab4489073b90.tar.gz
sunrise-reviewed-3708108a445ec39b985e4ba473feab4489073b90.tar.bz2
sunrise-reviewed-3708108a445ec39b985e4ba473feab4489073b90.zip
dev-perl/Apt-Pkg: New Ebuild for bug #446014. Thanks hasufell for the review.
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/Apt-Pkg/Apt-Pkg-0.1.26.ebuild41
-rw-r--r--dev-perl/Apt-Pkg/ChangeLog10
-rw-r--r--dev-perl/Apt-Pkg/Manifest4
-rw-r--r--dev-perl/Apt-Pkg/metadata.xml9
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-perl/Apt-Pkg/Apt-Pkg-0.1.26.ebuild b/dev-perl/Apt-Pkg/Apt-Pkg-0.1.26.ebuild
new file mode 100644
index 000000000..c7ee8dc40
--- /dev/null
+++ b/dev-perl/Apt-Pkg/Apt-Pkg-0.1.26.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit perl-module
+
+MY_PN="libapt-pkg-perl"
+
+DESCRIPTION="Perl interface to libapt-pkg"
+HOMEPAGE="http://packages.qa.debian.org/libapt-pkg-perl"
+SRC_URI="mirror://debian/pool/main/liba/${MY_PN}/${MY_PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="sys-apps/apt[apt-pkg]
+ virtual/libstdc++:3.3
+ virtual/perl-Scalar-List-Utils"
+DEPEND="virtual/perl-ExtUtils-MakeMaker
+ ${RDEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_compile() {
+ # MakeMaker does not respect CC/CXX
+ mymake=( CC=$(tc-getCXX) )
+ perl-module_src_compile
+}
+
+src_install() {
+ perl-module_src_install
+ # Install coding examples
+ dodoc debian/changelog
+ if use examples; then
+ dodoc -r examples
+ fi
+}
diff --git a/dev-perl/Apt-Pkg/ChangeLog b/dev-perl/Apt-Pkg/ChangeLog
new file mode 100644
index 000000000..084b0678d
--- /dev/null
+++ b/dev-perl/Apt-Pkg/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-perl/Apt-Pkg
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*Apt-Pkg-0.1.26 (04 Dec 2012)
+
+ 04 Dec 2012; Matthew Schultz (mschultz) <mattsch@gmail.com>
+ +Apt-Pkg-0.1.26.ebuild, +metadata.xml:
+ New Ebuild for bug #446014. Thanks hasufell for the review.
+
diff --git a/dev-perl/Apt-Pkg/Manifest b/dev-perl/Apt-Pkg/Manifest
new file mode 100644
index 000000000..b56e496a0
--- /dev/null
+++ b/dev-perl/Apt-Pkg/Manifest
@@ -0,0 +1,4 @@
+DIST libapt-pkg-perl_0.1.26.tar.gz 39116 SHA256 89c1936b01a9ec3a70fc1f9eabadee0a7ad675e1d40a278eb8bc255fc6c8e959 SHA512 b56646b72ebdca5bbc37e7283c0479252b5990304e024c78abd07166cf8fbdbd17e763f4d7385092f6284306213572de76d3bbc1eab74688715e8dee892aaa9e WHIRLPOOL 0507b73867dd5bd7e466ad694635a1ea16d1c5a25e50409711f9a4579dbe0b4d57d9a619f1e586ff3a2a486fde3a6447676430289c32eb61e8d4fcfe56848db6
+EBUILD Apt-Pkg-0.1.26.ebuild 838 SHA256 4ddddd54ac807ba1b9e568868133ded7d2c166e3305b17b4015a1651765db983 SHA512 59629ce33d95bf72432faafc99479452f5c6a8f4265ff6e289e595c92817af0d9d7f1c39dfefbb2dc3e4bd21b3bbaa4e8c9cd0e80a9cc68efcb17640c38acffe WHIRLPOOL 14f373335ace23c8dca6b07985b995fc4833371765de826f7d90e092e708db08185ec7d4238962b595566f28504dc125bf18c3d04e7b4d0be88d166c0173bb88
+MISC ChangeLog 314 SHA256 89b8a67525ffca1cf82815d808d732eb71bfe19d897c4daad89d96bca0f2128d SHA512 6233880b19a9bbcbdf32f415a81e376ff4ab2acaf8bfdc9fbd442215eb666a90f452301c75e5411003efed5b4e71c9245b4e4f853148ca5d8a51dddf81cb018d WHIRLPOOL 82be48dbc65e12efe3d5a5dad528f108f44d4a295168e02b1134a2d07a27782322d9ae2c2e64414762dc78a492eae10ba214769ed9fed4b01e30890acb0955ae
+MISC metadata.xml 458 SHA256 e0a1e49529d9fd91fb00e7cea19f43bdde93f0b4875cd64819f04abd7b9e133e SHA512 04e52852835f7d4c2dd1833b5df04bd6b35811b3a20145d6f6ccd846ee3380f5afd35c32c4bd3ef3627df1733cb949b581e1e8f0c61e73a16bd6eaf9dff07278 WHIRLPOOL 838c8e5d00e17b10419b76145d172e80a30c4898d6eefeeb1b7d95a636ce36c758482b5fa8ec36d6d4fe4f76fd57dde746fbebf340b647da86135fda31cec9a2
diff --git a/dev-perl/Apt-Pkg/metadata.xml b/dev-perl/Apt-Pkg/metadata.xml
new file mode 100644
index 000000000..d74eb271f
--- /dev/null
+++ b/dev-perl/Apt-Pkg/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+ <longdescription lang="en">
+ A Perl interface to APT's libapt-pkg which provides modules for configuration file/command line parsing,
+ version comparison, inspection of the binary package cache and source package details.
+ </longdescription>
+</pkgmetadata>