[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ruby packages



At Sun, 25 Feb 2001 00:22:07 +0900,
Takahiro Kambe wrote:
> º£¤Î¤È¤³¤í¤Ï¤½¤¦¤Ç¤¹¤¬¡¢lang/ruby-base/Makefile.common ¤È¤·¤Æ¤Þ¤È¤á¤ë
> ¤è¤ê¤Ï¡¢Ê¬³ä¤·¤Æ¤ª¤¤¤¿Êý¤¬³Ú¤Ç¤Ï¤Ê¤¤¤«¤È¤â»×¤¤»Ï¤á¤Æ¤¤¤Þ¤¹¡£Î㤨¤Ð¡¢
> USE_RUBY_RD ¤Ë¤è¤ë°Í¸´Ø·¸¤Ï text/ruby-rdtool/Makefile.common ¤ËÃÖ¤¯¤È
> ¸À¤Ã¤¿´¶¤¸¤Ç¤¹¡£

¡¡¤Ê¤ë¤Û¤É¡£¤½¤ì¤Ï¤Ò¤È¤Ä¤Î¹Í¤¨Êý¤Ç¤¹¤Í¡£

> > ¡¡»ä¤Ï°Âľ¤Ë¡¢ bsd.ruby.mk ¤ò¸µ¤Ë¤·¤Æ¤¤¤ë°Ê¾å¤Ï¡¢¶Ëü¤Ê¤³¤È¤ò
> > ¸À¤¨¤Ð diff ¤Î·ë²Ì¤ò.if ¡Á .else ¡Á .endif ¤Ç¤¯¤ë¤à¤À¤±¤Ç¤â¡¢
> > ¤Ê¤ª¶¦ÄÌÉôʬ¤ÎÊý¤¬Â¿¤¯¡¢Æ±´ü¤·¤Æ¤¤¤¯¥á¥ê¥Ã¥È¤ÏÂ礭¤¤¤È»×¤Ã¤Æ
> > ¤·¤Þ¤Ã¤¿¤ó¤Ç¤¹¤¬¡¢¤½¤¦¤¤¤¦»×¤¤¹þ¤ß¤ÏÍð˽¤Ê¤Î¤«¤â¤·¤ì¤Þ¤»¤ó¡£
> Ĺû½ê¤«¤é¤â¸¡Æ¤¤Î;ÃϤϽ½Ê¬¤Ë¤¢¤ë¤È»×¤¤¤Þ¤¹¡£

¡¡¤½¤Î¸å¹Í¤¨¤¿¤Î¤Ç¤¹¤¬¡¢·ë¶É¡¢Æ±´ü¤È¤¤¤¦¤Î¤Ï̵Â̤¬Â¿¤¤¤è¤¦¤Ë
»×¤¨¤Æ¤­¤Þ¤·¤¿¡£YAGNI ¤Ç¤¹¤Ê¡£OpenPackages ¤¬¶ñ¸½²½¤·¤¿¤é¡¢·ë¶É
ÊÑ´¹¤¹¤ë¼ê´Ö¤¬³Ý¤«¤ë¤Î¤ÏƱ¤¸¤Ê¤Î¤Ç¡¢¤½¤Î¤È¤­¤Ë¹ç¤ï¤»¤ì¤Ð¤¤¤¤¤³¤È
¤Ç¤¹¤è¤Í¡£

¡¡°ìÊýŪ¤ËÄó°Æ¤·¤Æ¤ª¤¤¤Æ¼è¤ê²¼¤²¤ë¤Î¤Ï¿´¶ì¤·¤¤¤Ç¤¹¤¬¡¢¤ª¸ß¤¤¤Ë
¤¤¤¤¥¢¥¤¥Ç¥¢¤Ï¸ò´¹¤·¤Æ»²¹Í¤Ë¤¹¤ë¡¢ÄøÅ٤ǹԤ­¤Þ¤·¤ç¤¦¤«¡£ :)


¡¡°Ê²¼¤ÏŤ¤Í¾Ã̤Ǥ¹¡£

> LIB_DEPENDS	ÇÑ»ß
> RUN_DEPENDS	ÇÑ»ß
> 
> BUILD_DEPENDS	¥Ñ¥Ã¥±¡¼¥¸¤ÎºîÀ®»þ¤Î°Í¸¤Îµ­½Ò

> FETCH_DEPENDS	¥Ñ¥Ã¥±¡¼¥¸¤ÎÇÛÉÛ¥Õ¥¡¥¤¥ë¤Î¼èÆÀ»þ¤Î°Í¸¤Îµ­½Ò

> DEPENDS		¥Ñ¥Ã¥±¡¼¥¸¤¬ºîÀ®¤ä¼Â¹ÔÅù¤Ç°Í¸¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¤Îµ­½Ò

¡¡¤³¤ì¤Ë¤Ä¤¤¤Æ¤Ï¡¢ NetBSD pkgsrc ¤¬¤½¤Î»þÅÀ¤Ç¤¹¤Ç¤Ë /usr/local ¤È
/usr/pkg ¤òʬ¤±¤Æ¤¤¤¿¤³¤È¤òƧ¤Þ¤¨¤ë¤È¡¢¤´¤¯¼«Á³¤ÊÁ°¿Ê¤À¤Ã¤¿¤È»ä¤Ï
ª¤¨¤Æ¤¤¤Þ¤¹¡£

¡¡¤Ä¤Þ¤ê¡¢¥Ñ¥Ã¥±¡¼¥¸¥·¥¹¥Æ¥à¤¬¤½¤ÎÃæ¤ÇÊĤ¸¤Æ´ÉÍý¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë
Âå½þ¤È¤·¤Æ¡¢¥æ¡¼¥¶¤¬¼ê¤ÇƳÆþ¤·¤¿¥é¥¤¥Ö¥é¥ê¤ä¥Ä¡¼¥ë¤ÎÎà¤ÎÍøÍÑ¡¦
¶¦Â¸¤È¤¤¤¦Æ»¤ò(¤Û¤Ü)ÀÚ¤ê¼Î¤Æ¤ë±ÑÃǤΰì´Ä¤Ç¤¢¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£

¡¡¾¯¤·»É·ãŪ¤Êɽ¸½¤ò¤¹¤ì¤Ð¤³¤ì¤Ï¤¹¤Ê¤ï¤Á¡¢°ÍÁ³¤È¤·¤Æ LOCALBASE=
/usr/local ¤ò¥Ç¥Õ¥©¥ë¥È¤È¤·¡¢¤¢¤¯¤Þ¤Ç port ¤Ï¥æ¡¼¥¶¤Î¼«Ê¬¤Î¼ê¤Ë
¤è¤ë¥¤¥ó¥¹¥È¡¼¥ë¤ÎÂå¹Ô¡¢Êص¹¼êÃÊ¡¢¤Ê¤ë¹Í¤¨¤ò¼é¤ë FreeBSD ports
¤È¤¤¤¦¥·¥¹¥Æ¥à¤«¤é¤Î·íÊÌ¡¦¾º²Ú¤Ç¤¢¤ë¡¢¤È¸À¤¨¤Þ¤¹¡£


¡¡»ä¼«¿È¤Ï¡¢ Debian ¤ä RPM ¤Î¹âÅ٤ʥѥ屡¼¥¸´ÉÍý¼êË¡¤ò¤¢¤ëÄøÅÙ
ÃΤäƤ«¤é¤Ï¡¢ FreeBSD ports ¤ò¥Ñ¥Ã¥±¡¼¥¸¥·¥¹¥Æ¥à¤È¤·¤Æ²þÎɤ·¤Æ
¤¤¤¯¤³¤È¤è¤ê¤â¡¢¥Ó¥ë¥É»Ù±ç¥·¥¹¥Æ¥à¤È¤·¤ÆËᤤ¤Æ¹Ô¤¯Êý¤¬¤¢¤ë¤Ù¤­
»Ñ¤Ë¶á¤¤¤è¤¦¤Êµ¤¤¬¤·¤Æ¡¢¤½¤Á¤é¤Ë½Å¿´¤òÃÖ¤¤¤Æ¤¤¤Þ¤¹¡£

¡¡¶ñÂÎŪ¤Ë¸À¤¦¤È¡¢ÊĤ¸¤¿¥Ñ¥Ã¥±¡¼¥¸´ÉÍý¥·¥¹¥Æ¥à¤Ç¤Ï¼Â¸½¤¬Æñ¤·¤¤¡¢
¥Ó¥ë¥É»þ¤Î¥ª¥×¥·¥ç¥ó»ØÄê¤ä¥«¥¹¥¿¥Þ¥¤¥º¡¢¥æ¡¼¥¶¤¬¼«Ê¬¤ÇƳÆþ¤·¤¿
¥Ð¡¼¥¸¥ç¥ó¤Î¥é¥¤¥Ö¥é¥ê¤ä¥Ä¡¼¥ë¤ÎÍøÍѤȤ¤¤Ã¤¿¤³¤È¤Ç¤¹¡£

¡¡¤½¤¦¤¤¤¦¹Í¤¨¤Î¸µ¡¢ FreeBSD ports ¤Ç¤Ï Ruby ¤ÎÊ£¿ô¥Ð¡¼¥¸¥ç¥ó¤Î
¶¦Â¸¤ò¥µ¥Ý¡¼¥È¤·¡¢¼êÆ°¤Ç¥³¥ó¥Ñ¥¤¥ë¡¦Æ³Æþ¤µ¤ì¤¿ ruby ¤Ë¹ç¤ï¤»¤Æ
¥é¥¤¥Ö¥é¥ê¤Î ports ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤ë¤è¤¦¤Ë¤·¤¿¤È¤¤¤¦¤ï¤±¤Ç¤¹¡£
(¤½¤ó¤Ê¤ËÂ礬¤«¤ê¤Ê»Å³Ý¤±¤¬É¬ÍפÀ¤Ã¤¿¤ï¤±¤Ç¤Ï¤Ê¤¤¤Ç¤¹¡¢Ç°¤Î°Ù)

¡¡°ìÊý¡¢ NetBSD pkgsrc ¤ÈÈæ¤Ù¡¢¥Ñ¥Ã¥±¡¼¥¸¥·¥¹¥Æ¥à¤È¤·¤Æ¤Î FreeBSD
ports ¤ÏÃæÅÓȾü¤Ç¤¤¤í¤¤¤í¤ÈÉÔÊؤʤΤǡ¢ ruby ¤Ç¤¤¤í¤¤¤í¥Õ¥ì¡¼¥à
¥ï¡¼¥¯¤ò¼ÂÁõ¤·¤Æ¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É¥Ä¡¼¥ë¤ò½ñ¤¤¤ÆÊØÍø¤Ë»È¤Ã¤Æ¤¤¤¿¤ê
¤·¤Þ¤¹¡£ ;)

¡¡Á᤯¤â¥ê¥Õ¥¡¥¯¥¿¥ê¥ó¥°¤¬É¬ÍפˤʤäƤ¤¤ë¤Î¤Ç¡¢¥Õ¥ì¡¼¥à¥ï¡¼¥¯¤ò
ºÆ¹½ÃÛ¤·¤Æ¤­¤ì¤¤¤Ë¤·¤¿¤é FreeBSD port ¤Ë¤·¤è¤¦¤«¤È»×¤Ã¤Æ¤¤¤Þ¤¹¡£

> ¤½¤¦¤½¤¦¡¢OpenBSD¤Ïports¥Ù¡¼¥¹¤Çnamed¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤¯¤é¤¤¤·¤«·Ð¸³
> ¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢make install¤·¤¿¤é¡¢
> 
> 1. ²¾¤Î¥Ñ¥¹¤Ë¥¤¥ó¥¹¥È¡¼¥ë
> 2. ¥Ð¥¤¥Ê¥ê¡¦¥Ñ¥Ã¥±¡¼¥¸¤òºîÀ®
> 3. ¤½¤ì¤òpkg_add
> 
> ¤È¤«¤·¤¿¤ß¤¿¤¤¤Ç¡¢¤¯¤é¤¯¤é¤·¤Þ¤·¤¿¡£

¡¡FreeBSD ports ¤Ç¤Ò¤È¤ÄÌäÂê¤Ê¤Î¤Ï¡¢°ìÈ̥桼¥¶¸¢¸Â¤Ç¥Ñ¥Ã¥±¡¼¥¸¤ò
ºî¤ë¤³¤È¤¬Æñ¤·¤¤¡¢¤Þ¤¿¸Ä¡¹¤Î port ¤¬¤½¤¦¤Ç¤­¤ëÊݾڤò¤·¤Æ¤¤¤Ê¤¤¡¢
¤È¤¤¤¦¤³¤È¤Ç¤¹¡£

¡¡¥»¥­¥å¥ê¥Æ¥£¤ò½Å»ë¤¹¤ë OpenBSD ¤È¤·¤Æ¤Ï¡¢°ìÈÌŪ¤Ê¥½¥Õ¥È¤ÎƳÆþ
¼ê½ç¤Ç¤¢¤ë make, su, make install ¤ò°ìÊâ¿Ê¤á¤Æ¡¢²¾¤Î¥¤¥ó¥¹¥È¡¼¥ë
¤Þ¤Ç¤ò°ìÈ̥桼¥¶¸¢¸Â¤Ç¥·¥ß¥å¥ì¡¼¥È¤Ç¤­¤ë¤è¤¦¤Ë¤·¤Æ¤ä¤ë¤³¤È¤Ç¡¢
ƳÆþ»þ¤Î°ÂÁ´³ÎǧÅù¤ò¹Ô¤¤¤ä¤¹¤¯¤¹¤ë¤È¤¤¤¦°ÕÌ£¤¬¤¢¤ë¤ï¤±¤Ç¤¹¡£

¡¡¤Á¤Ê¤ß¤Ë¡¢¥Ñ¥Ã¥±¡¼¥¸¤òÀè¤ËºîÀ®¤·¤Æ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¼ê½ç¤Ï
Debian package ¤ä RPM package ¤âƱ¤¸¤Ç¤¹¤Í¡£

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"We're only at home when we're on the run, on the wing, on the fly"