/[gentoo-x86]/dev-libs/girara/girara-0.1.3.ebuild
Gentoo

Contents of /dev-libs/girara/girara-0.1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Jan 11 16:32:11 2013 UTC (5 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/girara/girara-0.1.3.ebuild,v 1.3 2012/07/11 05:53:18 jdhore Exp $
4
5 EAPI=4
6 inherit multilib toolchain-funcs
7
8 DESCRIPTION="A library that implements a user interface that focuses on simplicity and minimalism"
9 HOMEPAGE="http://pwmt.org/projects/girara/"
10 SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
11
12 LICENSE="ZLIB"
13 SLOT="2"
14 KEYWORDS="amd64 x86"
15 IUSE="static-libs"
16
17 RDEPEND=">=x11-libs/gtk+-2.18.6:2"
18 DEPEND="${RDEPEND}
19 virtual/pkgconfig
20 sys-devel/gettext"
21
22 pkg_setup() {
23 mygiraraconf=(
24 LIBDIR='${PREFIX}'/$(get_libdir)
25 GIRARA_GTK_VERSION=2
26 CC="$(tc-getCC)"
27 SFLAGS=""
28 VERBOSE=1
29 DESTDIR="${D}"
30 )
31 }
32
33 src_prepare() {
34 # http://bt.pwmt.org/view.php?id=223
35 if ! use static-libs; then
36 sed -i \
37 -e 's|${PROJECT}: lib${PROJECT}.a|${PROJECT}:|' \
38 -e '/install.*lib${PROJECT}.a/d' \
39 Makefile || die
40 fi
41 }
42
43 src_compile() {
44 emake "${mygiraraconf[@]}"
45 }
46
47 src_install() {
48 emake "${mygiraraconf[@]}" install
49 dodoc AUTHORS
50 }

  ViewVC Help
Powered by ViewVC 1.1.20