blob: 58d1af5000b6648dc8fdefa85aa7161da4b07eb6 (
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
27
28
29
30
31
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-libglade/ruby-libglade-1.2.ebuild,v 1.5 2003/02/13 11:44:36 vapier Exp $
MY_P=${PN}-${PV/./-}
S=${WORKDIR}/${PN}
DESCRIPTION="Ruby libglade bindings"
SRC_URI="http://beta4.com/${MY_P}.tar.gz"
HOMEPAGE="http://www.ruby-lang.org/en/raa-list.rhtml?name=Ruby%2FLibGlade"
LICENSE="Ruby"
KEYWORDS="x86"
SLOT="0"
DEPEND="dev-lang/ruby
dev-ruby/ruby-gtk
dev-util/glade"
src_compile() {
ruby extconf.rb || die "ruby extconf.rb failed"
cp Makefile Makefile.orig
sed "s:CPPFLAGS = :CPPFLAGS = -I/usr/include/libglade-1.0 :" \
Makefile.orig > Makefile
emake ${CPPFLAGS} || die "emake failed"
}
src_install () {
einstall || die
dodoc README
dodoc sample/*
}
|