blob: 0daa606de66cf2ccf3d31348c90b284d545601c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/giblib/giblib-1.2.3.ebuild,v 1.2 2004/02/23 01:06:11 vapier Exp $
DESCRIPTION="Giblib, graphics library"
HOMEPAGE="http://www.linuxbrit.co.uk/"
SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.tar.gz"
LICENSE="as-is | BSD"
SLOT="0"
KEYWORDS="x86 ppc sparc ~alpha"
DEPEND=">=media-libs/imlib2-1.0.3
>=media-libs/freetype-2.0"
pkg_setup() {
cd ${T}
$(gcc-getCC) ${FILESDIR}/imlib-x-test.c `imlib2-config --libs` `imlib2-config --cflags` \
|| die "You need to re-emerge Imlib2 with USE=X"
}
src_install() {
make prefix=${D}/usr install || die
rm -rf ${D}/usr/doc
dodoc README AUTHORS ChangeLog
}
|