diff options
author | 2011-06-08 01:37:54 +0000 | |
---|---|---|
committer | 2011-06-08 01:37:54 +0000 | |
commit | 4b21872bbb72f5e2184f9d6f6ff7765d65922366 (patch) | |
tree | 9bfbe0e8af204fe721ae3aec571b50c925230156 /sys-apps/pacman | |
parent | Rename net-irc/atheme to net-irc/atheme-services to follow upstream's package... (diff) | |
download | gentoo-2-4b21872bbb72f5e2184f9d6f6ff7765d65922366.tar.gz gentoo-2-4b21872bbb72f5e2184f9d6f6ff7765d65922366.tar.bz2 gentoo-2-4b21872bbb72f5e2184f9d6f6ff7765d65922366.zip |
Bump to pacman-3.5.2 and use EAPI=4 and autotools-utils eclass for it.
(Portage version: 2.2.0_alpha37-r1/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/pacman')
-rw-r--r-- | sys-apps/pacman/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/pacman/pacman-3.5.2.ebuild | 63 |
2 files changed, 69 insertions, 1 deletions
diff --git a/sys-apps/pacman/ChangeLog b/sys-apps/pacman/ChangeLog index 78340b9d5f8a..fd1f7cb5f854 100644 --- a/sys-apps/pacman/ChangeLog +++ b/sys-apps/pacman/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/pacman # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pacman/ChangeLog,v 1.3 2011/05/04 23:38:25 binki Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pacman/ChangeLog,v 1.4 2011/06/08 01:37:54 binki Exp $ + +*pacman-3.5.2 (08 Jun 2011) + + 08 Jun 2011; Nathan Phillip Brink <binki@gentoo.org> +pacman-3.5.2.ebuild: + Bump to pacman-3.5.2 and use EAPI=4 and autotools-utils eclass for it. 04 May 2011; Nathan Phillip Brink <binki@gentoo.org> metadata.xml: Take over pacman which used to be proxy maintained for me. diff --git a/sys-apps/pacman/pacman-3.5.2.ebuild b/sys-apps/pacman/pacman-3.5.2.ebuild new file mode 100644 index 000000000000..5ebd27afaa5d --- /dev/null +++ b/sys-apps/pacman/pacman-3.5.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pacman/pacman-3.5.2.ebuild,v 1.1 2011/06/08 01:37:54 binki Exp $ + +EAPI=4 + +inherit autotools autotools-utils + +DESCRIPTION="Archlinux's binary package manager" +HOMEPAGE="http://archlinux.org/pacman/" +SRC_URI="ftp://ftp.archlinux.org/other/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug doc test" + +COMMON_DEPEND="app-arch/libarchive + dev-libs/openssl + virtual/libiconv + virtual/libintl + sys-devel/gettext" +RDEPEND="${COMMON_DEPEND} + app-arch/xz-utils" +DEPEND="${COMMON_DEPEND} + doc? ( app-doc/doxygen ) + test? ( dev-lang/python )" + +RESTRICT="test" + +src_prepare() { + # Remove a line that adds -Werror in ./configure when --enable-debug + # is passed: + sed -i -e '/-Werror/d' configure.ac || die "-Werror" + eautoreconf +} + +src_configure() { + local myeconfargs=( + --localstatedir=/var + --disable-git-version + --without-fetch + --with-openssl + # Help protect users from shooting their Gentoo installation in + # its foot. + --with-root-dir="${EPREFIX}"/var/chroot/archlinux + $(use_enable debug) + $(use_enable doc) + $(use_enable doc doxygen) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + dodir /etc/pacman.d +} + +pkg_postinst() { + einfo "Please see http://ohnopub.net/~ohnobinki/gentoo/arch/ for information" + einfo "about setting up an archlinux chroot." +} |