Files
sablink-distro/dev-util/json-glib/json-glib-0.6.2.ebuild
T
2009-06-11 16:12:29 +02:00

30 lines
698 B
Bash

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
#EAPI=0
DESCRIPTION="A library providing serialization and deserialization support for the JavaScript Object Notation (JSON) format."
HOMEPAGE="http://live.gnome.org/JsonGlib"
SRC_URI="http://folks.o-hand.com/~ebassi/sources/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="doc"
DEPEND=">=dev-libs/glib-2.15
doc? ( dev-util/gtk-doc )"
RDEPEND="${DEPEND}"
#S="${WORKDIR}/${P}"
src_compile() {
econf $(use_enable gtk-doc) || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}