pkgsrc-WIP-discuss archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Howto create ruby gem?
Hi!
On Tue, 29 Sep 2009 16:29:01 +0900, Fredrik Pettai <pettai%nordu.net@localhost>
wrote:
> Hi,
>
> I'm trying to create a dnsruby gem package. see wip/ruby-dnsruby
> Although, I've succeeded (quick-n-dirty), I doubt it works the way
> pkgsrc installation is supposed to.
>
> The dnsruby gem/tar.gz doesn't have a Rake, Rakefile, setup.rb or
> install.rb. The only ways I find to install this gem is to do "gem
> install dnsruby", or simply copying the unpacked gem files from $
> {WRKSRC}.
>
> My Ruby skills are about zero and I don't find any documentation about
> the RUBY_ parameters in pkgsrc framework.
> Could someone hint me how I should install dnsruby "correctly" from
> pkgsrc?
I don't know about gems spec well, but for this package,
either followings should avoid the problem:
* add a patch to remove "- html/classes" and "- html/files" from "files:"
section in gemspec
* create ${WRKSRC}/html/classes and ${WRKSRC}/html/files directory in
post-extract phase.
--
"Of course I love NetBSD":-)
OBATA Akio / obache%users.sourceforge.net@localhost
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss
Home |
Main Index |
Thread Index |
Old Index