/[gentoo-x86]/x11-proto/xcb-proto/xcb-proto-1.7.ebuild
Gentoo

Contents of /x11-proto/xcb-proto/xcb-proto-1.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Mar 26 13:38:45 2014 UTC (4 years, 6 months ago) by chithanh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old versions.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.7.ebuild,v 1.1 2012/01/11 20:34:51 mattst88 Exp $
4
5 EAPI=3
6 PYTHON_DEPEND="2:2.5"
7
8 inherit python xorg-2
9
10 DESCRIPTION="X C-language Bindings protocol headers"
11 HOMEPAGE="http://xcb.freedesktop.org/"
12 EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/proto"
13 [[ ${PV} != 9999* ]] && \
14 SRC_URI="http://xcb.freedesktop.org/dist/${P}.tar.bz2"
15
16 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
17 IUSE=""
18
19 RDEPEND=""
20 DEPEND="${RDEPEND}
21 dev-libs/libxml2"
22
23 pkg_setup() {
24 python_set_active_version 2
25 }
26
27 src_install() {
28 xorg-2_src_install
29 python_clean_installation_image
30 }
31
32 pkg_postinst() {
33 python_mod_optimize xcbgen
34 ewarn "Please rebuild both libxcb and xcb-util if you are upgrading from version 1.6"
35 }
36
37 pkg_postrm() {
38 python_mod_cleanup xcbgen
39 }

  ViewVC Help
Powered by ViewVC 1.1.20