# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnustep-libs/gdl2/gdl2-0.11.0.ebuild,v 1.5 2008/07/21 11:32:41 voyageur Exp $ inherit gnustep-2 MY_P="gnustep-dl2-${PV}" DESCRIPTION="GNUstep Database Library 2 (GDL2) for mapping Obj-C to RDBMSes" HOMEPAGE="http://www.gnustep.org/" SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/libs/${MY_P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="postgres sqlite" S=${WORKDIR}/${MY_P} DEPEND="gnustep-apps/gorm postgres? ( virtual/postgresql-base ) sqlite? ( >=dev-db/sqlite-3 )" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-makefile.patch epatch "${FILESDIR}"/${P}-NSMutableDictionary.patch epatch "${FILESDIR}"/${P}-NSException.patch }