diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-05-01 12:19:04 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-05-01 12:19:04 +0000 |
commit | 4dcc896354c34a6a8c275e1d67cc8a05d64a3537 (patch) | |
tree | 52c7ee5c558798b6de0d0aa4c096e11e968e8be0 /dev-ruby/ruby-gd | |
parent | Version bump. (diff) | |
download | historical-4dcc896354c34a6a8c275e1d67cc8a05d64a3537.tar.gz historical-4dcc896354c34a6a8c275e1d67cc8a05d64a3537.tar.bz2 historical-4dcc896354c34a6a8c275e1d67cc8a05d64a3537.zip |
Initial import. Ebuild submitted by a5hr <a5hr@cibicc.org> at GentooJP ebuild Project.
Diffstat (limited to 'dev-ruby/ruby-gd')
-rw-r--r-- | dev-ruby/ruby-gd/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ruby/ruby-gd/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/ruby-gd/files/digest-ruby-gd-0.7.4 | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-gd/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/ruby-gd/ruby-gd-0.7.4.ebuild | 49 |
5 files changed, 70 insertions, 0 deletions
diff --git a/dev-ruby/ruby-gd/ChangeLog b/dev-ruby/ruby-gd/ChangeLog new file mode 100644 index 000000000000..69ac066bb9af --- /dev/null +++ b/dev-ruby/ruby-gd/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-ruby/ruby-gd +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gd/ChangeLog,v 1.1 2004/05/01 12:19:04 usata Exp $ + +*ruby-gd-0.7.4 (01 May 2004) + + 01 May 2004; Mamoru KOMACHI <usata@gentoo.org> metadata.xml, + ruby-gd-0.7.4.ebuild: + Initial import. Ebuild submitted by a5hr <a5hr@cibicc.org> at + GentooJP ebuild Project. + diff --git a/dev-ruby/ruby-gd/Manifest b/dev-ruby/ruby-gd/Manifest new file mode 100644 index 000000000000..d659588f462f --- /dev/null +++ b/dev-ruby/ruby-gd/Manifest @@ -0,0 +1,4 @@ +MD5 1f76a905bd78dc51910affa33ab8d8b7 ruby-gd-0.7.4.ebuild 1110 +MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157 +MD5 38225334d9a8033c53a9a2c6fb90a8ce ChangeLog 422 +MD5 68c7b3e0c3a057b71588d7c820ec0985 files/digest-ruby-gd-0.7.4 66 diff --git a/dev-ruby/ruby-gd/files/digest-ruby-gd-0.7.4 b/dev-ruby/ruby-gd/files/digest-ruby-gd-0.7.4 new file mode 100644 index 000000000000..06ea0c925301 --- /dev/null +++ b/dev-ruby/ruby-gd/files/digest-ruby-gd-0.7.4 @@ -0,0 +1 @@ +MD5 57d4da0a98ee47445e5fa1aa7252640a ruby-GD-0.7.4-1.tar.gz 38725 diff --git a/dev-ruby/ruby-gd/metadata.xml b/dev-ruby/ruby-gd/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/ruby-gd/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> diff --git a/dev-ruby/ruby-gd/ruby-gd-0.7.4.ebuild b/dev-ruby/ruby-gd/ruby-gd-0.7.4.ebuild new file mode 100644 index 000000000000..206e2bec48c8 --- /dev/null +++ b/dev-ruby/ruby-gd/ruby-gd-0.7.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gd/ruby-gd-0.7.4.ebuild,v 1.1 2004/05/01 12:19:04 usata Exp $ + +inherit ruby +USE_RUBY="ruby16 ruby18 ruby19" + +MY_P="${P/gd/GD}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="ruby-gd: an interface to Boutell GD library" +HOMEPAGE="http://tam.0xfa.com/ruby-gd/" +SRC_URI="http://tam.0xfa.com/ruby-gd/${MY_P}-1.tar.gz" +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~x86" + +IUSE="jpeg truetype" + +DEPEND="virtual/ruby + virtual/x11 + >=media-libs/libgd-2.0 + jpeg? ( media-libs/jpeg ) + truetype? ( media-libs/freetype )" + +src_compile() { + local myconf="" + myconf="${myconf} --enable-gd2_0 --with-xpm" + + if use jpeg; then + myconf="${myconf} --with-jpeg" + fi + + if use truetype; then + myconf="${myconf} --with-ttf --with-freetype" + fi + + ruby extconf.rb ${myconf} || die + emake || die +} + +src_install() { + einstall || die + + dodoc Changes TODO readme.* doc/manual.rd doc/INSTALL.* + dohtml doc/manual.html doc/manual_index.html + insinto /usr/share/doc/${PF}/sample + doins sample/* +} |