perlbase.mk 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559
  1. define Package/perlbase-template
  2. SUBMENU:=Perl
  3. SECTION:=lang
  4. CATEGORY:=Languages
  5. URL:=http://www.cpan.org/
  6. DEPENDS:=perl
  7. endef
  8. define Package/perlbase-anydbm-file
  9. $(call Package/perlbase-template)
  10. TITLE:=AnyDBM_File perl module
  11. DEPENDS+=+perlbase-essential
  12. endef
  13. define Package/perlbase-anydbm-file/install
  14. $(call perlmod/Install,$(1),AnyDBM_File.pm,)
  15. $(call perlmod/InstallBaseTests,$(1),lib/AnyDBM_File.t)
  16. endef
  17. $(eval $(call BuildPackage,perlbase-anydbm-file))
  18. define Package/perlbase-app
  19. $(call Package/perlbase-template)
  20. TITLE:=app perl module
  21. DEPENDS+=+perlbase-autouse +perlbase-base +perlbase-config +perlbase-cpan +perlbase-essential +perlbase-file +perlbase-getopt +perlbase-if +perlbase-tap +perlbase-text
  22. endef
  23. define Package/perlbase-app/install
  24. $(call perlmod/Install,$(1),App,)
  25. endef
  26. $(eval $(call BuildPackage,perlbase-app))
  27. define Package/perlbase-archive
  28. $(call Package/perlbase-template)
  29. TITLE:=Archive perl module
  30. DEPENDS+=+perlbase-cwd +perlbase-essential +perlbase-file +perlbase-io
  31. endef
  32. define Package/perlbase-archive/install
  33. $(call perlmod/Install,$(1),Archive,)
  34. $(call perlmod/InstallBaseTests,$(1),cpan/Archive-Tar/bin cpan/Archive-Tar/t)
  35. $(INSTALL_DIR) $(1)/usr/bin
  36. $(CP) $(PKG_INSTALL_DIR)/usr/bin/ptar $(1)/usr/bin/
  37. $(CP) $(PKG_INSTALL_DIR)/usr/bin/ptardiff $(1)/usr/bin/
  38. $(CP) $(PKG_INSTALL_DIR)/usr/bin/ptargrep $(1)/usr/bin/
  39. endef
  40. $(eval $(call BuildPackage,perlbase-archive))
  41. define Package/perlbase-arybase
  42. $(call Package/perlbase-template)
  43. TITLE:=arybase perl module
  44. DEPENDS+=+perlbase-xsloader
  45. endef
  46. define Package/perlbase-arybase/install
  47. $(call perlmod/Install,$(1),arybase.pm auto/arybase,)
  48. $(call perlmod/InstallBaseTests,$(1),ext/arybase/t)
  49. endef
  50. $(eval $(call BuildPackage,perlbase-arybase))
  51. define Package/perlbase-attribute
  52. $(call Package/perlbase-template)
  53. TITLE:=Attribute perl module
  54. DEPENDS+=+perlbase-essential
  55. endef
  56. define Package/perlbase-attribute/install
  57. $(call perlmod/Install,$(1),Attribute,)
  58. $(call perlmod/InstallBaseTests,$(1),dist/Attribute-Handlers/t)
  59. endef
  60. $(eval $(call BuildPackage,perlbase-attribute))
  61. define Package/perlbase-attributes
  62. $(call Package/perlbase-template)
  63. TITLE:=attributes perl module
  64. DEPENDS+=+perlbase-essential +perlbase-xsloader
  65. endef
  66. define Package/perlbase-attributes/install
  67. $(call perlmod/Install,$(1),attributes.pm auto/attributes,)
  68. endef
  69. $(eval $(call BuildPackage,perlbase-attributes))
  70. define Package/perlbase-autodie
  71. $(call Package/perlbase-template)
  72. TITLE:=autodie perl module
  73. DEPENDS+=+perlbase-essential
  74. endef
  75. define Package/perlbase-autodie/install
  76. $(call perlmod/Install,$(1),autodie autodie.pm,)
  77. $(call perlmod/InstallBaseTests,$(1),cpan/autodie/t)
  78. endef
  79. $(eval $(call BuildPackage,perlbase-autodie))
  80. define Package/perlbase-autoloader
  81. $(call Package/perlbase-template)
  82. TITLE:=AutoLoader perl module
  83. DEPENDS+=+perlbase-essential
  84. endef
  85. define Package/perlbase-autoloader/install
  86. $(call perlmod/Install,$(1),AutoLoader.pm,)
  87. $(call perlmod/InstallBaseTests,$(1),cpan/AutoLoader/t)
  88. endef
  89. $(eval $(call BuildPackage,perlbase-autoloader))
  90. define Package/perlbase-autosplit
  91. $(call Package/perlbase-template)
  92. TITLE:=AutoSplit perl module
  93. DEPENDS+=+perlbase-config +perlbase-essential +perlbase-file
  94. endef
  95. define Package/perlbase-autosplit/install
  96. $(call perlmod/Install/NoStrip,$(1),AutoSplit.pm,)
  97. endef
  98. $(eval $(call BuildPackage,perlbase-autosplit))
  99. define Package/perlbase-autouse
  100. $(call Package/perlbase-template)
  101. TITLE:=autouse perl module
  102. endef
  103. define Package/perlbase-autouse/install
  104. $(call perlmod/Install,$(1),autouse.pm,)
  105. $(call perlmod/InstallBaseTests,$(1),dist/autouse/t)
  106. endef
  107. $(eval $(call BuildPackage,perlbase-autouse))
  108. define Package/perlbase-b
  109. $(call Package/perlbase-template)
  110. TITLE:=B perl module
  111. DEPENDS+=+perlbase-config +perlbase-essential +perlbase-feature
  112. endef
  113. define Package/perlbase-b/install
  114. $(call perlmod/Install,$(1),B B.pm auto/B,)
  115. $(call perlmod/InstallBaseTests,$(1),cpan/B-Debug/t ext/B/t lib/B/Deparse-core.t lib/B/Deparse-subclass.t lib/B/Deparse.t)
  116. endef
  117. $(eval $(call BuildPackage,perlbase-b))
  118. define Package/perlbase-base
  119. $(call Package/perlbase-template)
  120. TITLE:=base perl module
  121. DEPENDS+=+perlbase-essential
  122. endef
  123. define Package/perlbase-base/install
  124. $(call perlmod/Install,$(1),base.pm,)
  125. $(call perlmod/InstallBaseTests,$(1),dist/base/t)
  126. endef
  127. $(eval $(call BuildPackage,perlbase-base))
  128. define Package/perlbase-benchmark
  129. $(call Package/perlbase-template)
  130. TITLE:=Benchmark perl module
  131. DEPENDS+=+perlbase-essential
  132. endef
  133. define Package/perlbase-benchmark/install
  134. $(call perlmod/Install,$(1),Benchmark.pm,)
  135. $(call perlmod/InstallBaseTests,$(1),lib/Benchmark.t)
  136. endef
  137. $(eval $(call BuildPackage,perlbase-benchmark))
  138. define Package/perlbase-bigint
  139. $(call Package/perlbase-template)
  140. TITLE:=bigint perl module
  141. DEPENDS+=+perlbase-essential
  142. endef
  143. define Package/perlbase-bigint/install
  144. $(call perlmod/Install,$(1),bigint.pm,)
  145. endef
  146. $(eval $(call BuildPackage,perlbase-bigint))
  147. define Package/perlbase-bignum
  148. $(call Package/perlbase-template)
  149. TITLE:=bignum perl module
  150. DEPENDS+=+perlbase-bigint +perlbase-essential
  151. endef
  152. define Package/perlbase-bignum/install
  153. $(call perlmod/Install,$(1),bignum.pm bigrat.pm,)
  154. $(call perlmod/InstallBaseTests,$(1),dist/bignum/t)
  155. endef
  156. $(eval $(call BuildPackage,perlbase-bignum))
  157. define Package/perlbase-blib
  158. $(call Package/perlbase-template)
  159. TITLE:=blib perl module
  160. DEPENDS+=+perlbase-cwd +perlbase-essential +perlbase-file
  161. endef
  162. define Package/perlbase-blib/install
  163. $(call perlmod/Install,$(1),blib.pm,)
  164. $(call perlmod/InstallBaseTests,$(1),lib/blib.t)
  165. endef
  166. $(eval $(call BuildPackage,perlbase-blib))
  167. define Package/perlbase-bytes
  168. $(call Package/perlbase-template)
  169. TITLE:=bytes perl module
  170. endef
  171. define Package/perlbase-bytes/install
  172. $(call perlmod/Install,$(1),bytes.pm bytes_heavy.pl,)
  173. $(call perlmod/InstallBaseTests,$(1),lib/bytes.t)
  174. endef
  175. $(eval $(call BuildPackage,perlbase-bytes))
  176. define Package/perlbase-charnames
  177. $(call Package/perlbase-template)
  178. TITLE:=charnames perl module
  179. DEPENDS+=+perlbase-bytes +perlbase-essential +perlbase-re +perlbase-unicore
  180. endef
  181. define Package/perlbase-charnames/install
  182. $(call perlmod/Install,$(1),_charnames.pm charnames.pm,)
  183. $(call perlmod/InstallBaseTests,$(1),lib/charnames.t)
  184. endef
  185. $(eval $(call BuildPackage,perlbase-charnames))
  186. define Package/perlbase-class
  187. $(call Package/perlbase-template)
  188. TITLE:=Class perl module
  189. DEPENDS+=+perlbase-essential
  190. endef
  191. define Package/perlbase-class/install
  192. $(call perlmod/Install,$(1),Class,)
  193. $(call perlmod/InstallBaseTests,$(1),lib/Class/Struct.t)
  194. endef
  195. $(eval $(call BuildPackage,perlbase-class))
  196. define Package/perlbase-compress
  197. $(call Package/perlbase-template)
  198. TITLE:=Compress perl module
  199. DEPENDS+=+perlbase-bytes +perlbase-essential +perlbase-io +perlbase-scalar
  200. endef
  201. define Package/perlbase-compress/install
  202. $(call perlmod/Install,$(1),Compress auto/Compress,)
  203. $(call perlmod/InstallBaseTests,$(1),cpan/Compress-Raw-Bzip2/t cpan/Compress-Raw-Zlib/t)
  204. endef
  205. $(eval $(call BuildPackage,perlbase-compress))
  206. define Package/perlbase-config
  207. $(call Package/perlbase-template)
  208. TITLE:=Config perl module
  209. endef
  210. define Package/perlbase-config/install
  211. $(call perlmod/Install,$(1),Config Config.pm Config_git.pl Config_heavy.pl,)
  212. $(call perlmod/InstallBaseTests,$(1),cpan/Config-Perl-V/t lib/Config.t lib/Config/Extensions.t)
  213. endef
  214. $(eval $(call BuildPackage,perlbase-config))
  215. define Package/perlbase-cpan
  216. $(call Package/perlbase-template)
  217. TITLE:=CPAN perl module
  218. DEPENDS+=+perlbase-b +perlbase-config +perlbase-cwd +perlbase-dirhandle +perlbase-essential +perlbase-extutils +perlbase-fcntl +perlbase-file +perlbase-filehandle +perlbase-http-tiny +perlbase-net +perlbase-safe +perlbase-scalar +perlbase-sys +perlbase-text
  219. endef
  220. define Package/perlbase-cpan/install
  221. $(call perlmod/Install,$(1),CPAN CPAN.pm Parse/CPAN/Meta.pm,CPAN/FirstTime.pm)
  222. $(call perlmod/Install/NoStrip,$(1),CPAN/FirstTime.pm,)
  223. $(call perlmod/InstallBaseTests,$(1),cpan/CPAN-Meta-Requirements/t cpan/CPAN-Meta-YAML/t cpan/CPAN-Meta/t cpan/CPAN/t cpan/Parse-CPAN-Meta/t)
  224. endef
  225. $(eval $(call BuildPackage,perlbase-cpan))
  226. define Package/perlbase-cwd
  227. $(call Package/perlbase-template)
  228. TITLE:=Cwd perl module
  229. DEPENDS+=+perlbase-essential
  230. endef
  231. define Package/perlbase-cwd/install
  232. $(call perlmod/Install,$(1),Cwd.pm auto/Cwd,)
  233. endef
  234. $(eval $(call BuildPackage,perlbase-cwd))
  235. define Package/perlbase-data
  236. $(call Package/perlbase-template)
  237. TITLE:=Data perl module
  238. DEPENDS+=+perlbase-bytes +perlbase-essential
  239. endef
  240. define Package/perlbase-data/install
  241. $(call perlmod/Install,$(1),Data auto/Data,)
  242. $(call perlmod/InstallBaseTests,$(1),dist/Data-Dumper/t)
  243. endef
  244. $(eval $(call BuildPackage,perlbase-data))
  245. define Package/perlbase-db
  246. $(call Package/perlbase-template)
  247. TITLE:=DB perl module
  248. DEPENDS+=+libdb47 +perlbase-essential +perlbase-meta-notation
  249. endef
  250. define Package/perlbase-db/install
  251. $(call perlmod/Install,$(1),DB.pm,)
  252. $(call perlmod/InstallBaseTests,$(1),lib/DB.t)
  253. endef
  254. $(eval $(call BuildPackage,perlbase-db))
  255. define Package/perlbase-db-file
  256. $(call Package/perlbase-template)
  257. TITLE:=DB_File perl module
  258. DEPENDS+=+libdb47 +perlbase-essential +perlbase-tie
  259. endef
  260. define Package/perlbase-db-file/install
  261. $(call perlmod/Install,$(1),DB_File.pm auto/DB_File,)
  262. $(call perlmod/InstallBaseTests,$(1),cpan/DB_File/t)
  263. endef
  264. $(eval $(call BuildPackage,perlbase-db-file))
  265. define Package/perlbase-dbm-filter
  266. $(call Package/perlbase-template)
  267. TITLE:=DBM_Filter perl module
  268. DEPENDS+=+perlbase-essential
  269. endef
  270. define Package/perlbase-dbm-filter/install
  271. $(call perlmod/Install,$(1),DBM_Filter DBM_Filter.pm,)
  272. $(call perlmod/InstallBaseTests,$(1),lib/DBM_Filter/t lib/dbm_filter_util.pl)
  273. endef
  274. $(eval $(call BuildPackage,perlbase-dbm-filter))
  275. define Package/perlbase-devel
  276. $(call Package/perlbase-template)
  277. TITLE:=Devel perl module
  278. DEPENDS+=+perlbase-essential +perlbase-file +perlbase-selfloader +perlbase-xsloader
  279. endef
  280. define Package/perlbase-devel/install
  281. $(call perlmod/Install,$(1),Devel auto/Devel,Devel/PPPort.pm)
  282. $(call perlmod/Install/NoStrip,$(1),Devel/PPPort.pm,)
  283. $(call perlmod/InstallBaseTests,$(1),cpan/Devel-PPPort/t dist/Devel-SelfStubber/t ext/Devel-Peek/t)
  284. endef
  285. $(eval $(call BuildPackage,perlbase-devel))
  286. define Package/perlbase-diagnostics
  287. $(call Package/perlbase-template)
  288. TITLE:=diagnostics perl module
  289. DEPENDS+=+perlbase-config +perlbase-essential +perlbase-text
  290. endef
  291. define Package/perlbase-diagnostics/install
  292. $(call perlmod/Install,$(1),diagnostics.pm,)
  293. $(call perlmod/InstallBaseTests,$(1),lib/diagnostics.t pod/perldiag.pod)
  294. endef
  295. $(eval $(call BuildPackage,perlbase-diagnostics))
  296. define Package/perlbase-digest
  297. $(call Package/perlbase-template)
  298. TITLE:=Digest perl module
  299. DEPENDS+=+perlbase-dynaloader +perlbase-essential +perlbase-fcntl +perlbase-integer
  300. endef
  301. define Package/perlbase-digest/install
  302. $(call perlmod/Install,$(1),Digest Digest.pm auto/Digest,)
  303. $(call perlmod/InstallBaseTests,$(1),cpan/Digest-MD5/MD5.xs cpan/Digest-MD5/t cpan/Digest-SHA/t cpan/Digest/t)
  304. $(INSTALL_DIR) $(1)/$(PERL_TESTSDIR)/cpan/Digest-SHA/src
  305. endef
  306. $(eval $(call BuildPackage,perlbase-digest))
  307. define Package/perlbase-dirhandle
  308. $(call Package/perlbase-template)
  309. TITLE:=DirHandle perl module
  310. DEPENDS+=+perlbase-essential +perlbase-symbol
  311. endef
  312. define Package/perlbase-dirhandle/install
  313. $(call perlmod/Install,$(1),DirHandle.pm,)
  314. $(call perlmod/InstallBaseTests,$(1),lib/DirHandle.t)
  315. endef
  316. $(eval $(call BuildPackage,perlbase-dirhandle))
  317. define Package/perlbase-dumpvalue
  318. $(call Package/perlbase-template)
  319. TITLE:=Dumpvalue perl module
  320. DEPENDS+=+perlbase-essential
  321. endef
  322. define Package/perlbase-dumpvalue/install
  323. $(call perlmod/Install,$(1),Dumpvalue.pm,)
  324. $(call perlmod/InstallBaseTests,$(1),dist/Dumpvalue/t)
  325. endef
  326. $(eval $(call BuildPackage,perlbase-dumpvalue))
  327. define Package/perlbase-dumpvar
  328. $(call Package/perlbase-template)
  329. TITLE:=dumpvar perl module
  330. endef
  331. define Package/perlbase-dumpvar/install
  332. $(call perlmod/Install,$(1),dumpvar.pl,)
  333. $(call perlmod/InstallBaseTests,$(1),lib/dumpvar.t)
  334. endef
  335. $(eval $(call BuildPackage,perlbase-dumpvar))
  336. define Package/perlbase-dynaloader
  337. $(call Package/perlbase-template)
  338. TITLE:=DynaLoader perl module
  339. DEPENDS+=+perlbase-config
  340. endef
  341. define Package/perlbase-dynaloader/install
  342. $(call perlmod/Install,$(1),DynaLoader.pm,)
  343. $(call perlmod/InstallBaseTests,$(1),ext/DynaLoader/t)
  344. endef
  345. $(eval $(call BuildPackage,perlbase-dynaloader))
  346. define Package/perlbase-encode
  347. $(call Package/perlbase-template)
  348. TITLE:=Encode perl module
  349. DEPENDS+=+perlbase-essential +perlbase-mime +perlbase-utf8 +perlbase-xsloader
  350. endef
  351. define Package/perlbase-encode/install
  352. $(call perlmod/Install,$(1),Encode Encode.pm auto/Encode,Encode/PerlIO.pod Encode/Supported.pod)
  353. $(call perlmod/InstallBaseTests,$(1),cpan/Encode/t)
  354. endef
  355. $(eval $(call BuildPackage,perlbase-encode))
  356. define Package/perlbase-encoding
  357. $(call Package/perlbase-template)
  358. TITLE:=encoding perl module
  359. DEPENDS+=+perlbase-encode +perlbase-essential
  360. endef
  361. define Package/perlbase-encoding/install
  362. $(call perlmod/Install,$(1),encoding encoding.pm,)
  363. $(call perlmod/InstallBaseTests,$(1),cpan/encoding-warnings/t)
  364. endef
  365. $(eval $(call BuildPackage,perlbase-encoding))
  366. define Package/perlbase-english
  367. $(call Package/perlbase-template)
  368. TITLE:=English perl module
  369. DEPENDS+=+perlbase-essential
  370. endef
  371. define Package/perlbase-english/install
  372. $(call perlmod/Install,$(1),English.pm,)
  373. $(call perlmod/InstallBaseTests,$(1),lib/English.t)
  374. endef
  375. $(eval $(call BuildPackage,perlbase-english))
  376. define Package/perlbase-env
  377. $(call Package/perlbase-template)
  378. TITLE:=Env perl module
  379. DEPENDS+=+perlbase-config +perlbase-tie
  380. endef
  381. define Package/perlbase-env/install
  382. $(call perlmod/Install,$(1),Env.pm,)
  383. $(call perlmod/InstallBaseTests,$(1),dist/Env/t)
  384. endef
  385. $(eval $(call BuildPackage,perlbase-env))
  386. define Package/perlbase-errno
  387. $(call Package/perlbase-template)
  388. TITLE:=Errno perl module
  389. DEPENDS+=+perlbase-config +perlbase-essential
  390. endef
  391. define Package/perlbase-errno/install
  392. $(call perlmod/Install,$(1),Errno.pm,)
  393. $(call perlmod/InstallBaseTests,$(1),ext/Errno/t)
  394. endef
  395. $(eval $(call BuildPackage,perlbase-errno))
  396. define Package/perlbase-essential
  397. $(call Package/perlbase-template)
  398. TITLE:=essential perl module
  399. DEPENDS+=+perlbase-config
  400. endef
  401. define Package/perlbase-essential/install
  402. $(call perlmod/Install,$(1),Carp Carp.pm Exporter Exporter.pm constant.pm deprecate.pm lib.pm locale.pm overload.pm overloading.pm parent.pm strict.pm subs.pm vars.pm warnings warnings.pm,)
  403. $(call perlmod/Install/NoStrip,$(1),overload/numbers.pm,)
  404. $(call perlmod/InstallBaseTests,$(1),cpan/parent/t dist/Carp/t dist/Exporter/t dist/constant/t dist/lib/t lib/locale.t lib/overload.t lib/overload64.t lib/overloading.t lib/strict.t lib/subs.t lib/vars.t lib/vars_carp.t lib/warnings.t)
  405. endef
  406. $(eval $(call BuildPackage,perlbase-essential))
  407. define Package/perlbase-experimental
  408. $(call Package/perlbase-template)
  409. TITLE:=experimental perl module
  410. DEPENDS+=+perlbase-essential +perlbase-feature +perlbase-version
  411. endef
  412. define Package/perlbase-experimental/install
  413. $(call perlmod/Install,$(1),experimental.pm,)
  414. $(call perlmod/InstallBaseTests,$(1),cpan/experimental/t)
  415. endef
  416. $(eval $(call BuildPackage,perlbase-experimental))
  417. define Package/perlbase-extutils
  418. $(call Package/perlbase-template)
  419. TITLE:=ExtUtils perl module
  420. DEPENDS+=+perlbase-autosplit +perlbase-base +perlbase-config +perlbase-cwd +perlbase-dirhandle +perlbase-encode +perlbase-essential +perlbase-file +perlbase-io +perlbase-ipc +perlbase-ostype +perlbase-symbol +perlbase-text
  421. endef
  422. define Package/perlbase-extutils/install
  423. $(call perlmod/Install,$(1),ExtUtils,ExtUtils/MakeMaker/FAQ.pod ExtUtils/MakeMaker/Tutorial.pod ExtUtils/ParseXS.pm ExtUtils/ParseXS/Utilities.pm)
  424. $(call perlmod/Install/NoStrip,$(1),ExtUtils/ParseXS.pm ExtUtils/ParseXS/Utilities.pm,)
  425. $(call perlmod/InstallBaseTests,$(1),cpan/ExtUtils-Command/t cpan/ExtUtils-Constant/t cpan/ExtUtils-Install/t cpan/ExtUtils-MakeMaker/t cpan/ExtUtils-Manifest/t dist/ExtUtils-CBuilder/t dist/ExtUtils-ParseXS/t lib/ExtUtils/t lib/h2ph.t lib/h2xs.t utils/h2ph utils/h2xs)
  426. endef
  427. $(eval $(call BuildPackage,perlbase-extutils))
  428. define Package/perlbase-fatal
  429. $(call Package/perlbase-template)
  430. TITLE:=Fatal perl module
  431. DEPENDS+=+perlbase-autodie +perlbase-config +perlbase-essential +perlbase-scalar +perlbase-tie
  432. endef
  433. define Package/perlbase-fatal/install
  434. $(call perlmod/Install,$(1),Fatal.pm,)
  435. endef
  436. $(eval $(call BuildPackage,perlbase-fatal))
  437. define Package/perlbase-fcntl
  438. $(call Package/perlbase-template)
  439. TITLE:=Fcntl perl module
  440. DEPENDS+=+perlbase-essential +perlbase-xsloader
  441. endef
  442. define Package/perlbase-fcntl/install
  443. $(call perlmod/Install,$(1),Fcntl.pm auto/Fcntl,)
  444. $(call perlmod/InstallBaseTests,$(1),ext/Fcntl/t)
  445. endef
  446. $(eval $(call BuildPackage,perlbase-fcntl))
  447. define Package/perlbase-feature
  448. $(call Package/perlbase-template)
  449. TITLE:=feature perl module
  450. endef
  451. define Package/perlbase-feature/install
  452. $(call perlmod/Install,$(1),feature.pm,)
  453. $(call perlmod/InstallBaseTests,$(1),lib/feature.t lib/feature/unicode_strings.t)
  454. endef
  455. $(eval $(call BuildPackage,perlbase-feature))
  456. define Package/perlbase-fields
  457. $(call Package/perlbase-template)
  458. TITLE:=fields perl module
  459. DEPENDS+=+perlbase-essential
  460. endef
  461. define Package/perlbase-fields/install
  462. $(call perlmod/Install,$(1),fields.pm,)
  463. endef
  464. $(eval $(call BuildPackage,perlbase-fields))
  465. define Package/perlbase-file
  466. $(call Package/perlbase-template)
  467. TITLE:=File perl module
  468. DEPENDS+=+perlbase-class +perlbase-config +perlbase-cwd +perlbase-errno +perlbase-essential +perlbase-fcntl +perlbase-filehandle +perlbase-io +perlbase-locale +perlbase-params +perlbase-scalar +perlbase-symbol +perlbase-xsloader
  469. endef
  470. define Package/perlbase-file/install
  471. $(call perlmod/Install,$(1),File auto/File,File/Find.pm)
  472. $(call perlmod/Install/NoStrip,$(1),File/Find.pm,)
  473. $(call perlmod/InstallBaseTests,$(1),cpan/File-Fetch/t cpan/File-Path/t cpan/File-Temp/t dist/PathTools/t ext/File-DosGlob/t ext/File-Find/t ext/File-Glob/t lib/File/Basename.t lib/File/Compare.t lib/File/Copy.t lib/File/stat-7896.t lib/File/stat.t)
  474. endef
  475. $(eval $(call BuildPackage,perlbase-file))
  476. define Package/perlbase-filecache
  477. $(call Package/perlbase-template)
  478. TITLE:=FileCache perl module
  479. DEPENDS+=+perlbase-essential
  480. endef
  481. define Package/perlbase-filecache/install
  482. $(call perlmod/Install,$(1),FileCache.pm,)
  483. $(call perlmod/InstallBaseTests,$(1),ext/FileCache/t)
  484. endef
  485. $(eval $(call BuildPackage,perlbase-filecache))
  486. define Package/perlbase-filehandle
  487. $(call Package/perlbase-template)
  488. TITLE:=FileHandle perl module
  489. DEPENDS+=+perlbase-essential +perlbase-io
  490. endef
  491. define Package/perlbase-filehandle/install
  492. $(call perlmod/Install,$(1),FileHandle.pm,)
  493. $(call perlmod/InstallBaseTests,$(1),lib/FileHandle.t)
  494. endef
  495. $(eval $(call BuildPackage,perlbase-filehandle))
  496. define Package/perlbase-filetest
  497. $(call Package/perlbase-template)
  498. TITLE:=filetest perl module
  499. endef
  500. define Package/perlbase-filetest/install
  501. $(call perlmod/Install,$(1),filetest.pm,)
  502. $(call perlmod/InstallBaseTests,$(1),lib/filetest.t)
  503. endef
  504. $(eval $(call BuildPackage,perlbase-filetest))
  505. define Package/perlbase-filter
  506. $(call Package/perlbase-template)
  507. TITLE:=Filter perl module
  508. DEPENDS+=+perlbase-dynaloader +perlbase-essential +perlbase-text
  509. endef
  510. define Package/perlbase-filter/install
  511. $(call perlmod/Install,$(1),Filter auto/Filter,)
  512. $(call perlmod/InstallBaseTests,$(1),cpan/Filter-Util-Call/filter-util.pl cpan/Filter-Util-Call/t dist/Filter-Simple/t)
  513. endef
  514. $(eval $(call BuildPackage,perlbase-filter))
  515. define Package/perlbase-findbin
  516. $(call Package/perlbase-template)
  517. TITLE:=FindBin perl module
  518. DEPENDS+=+perlbase-cwd +perlbase-essential +perlbase-file
  519. endef
  520. define Package/perlbase-findbin/install
  521. $(call perlmod/Install,$(1),FindBin.pm,)
  522. $(call perlmod/InstallBaseTests,$(1),lib/FindBin.t)
  523. endef
  524. $(eval $(call BuildPackage,perlbase-findbin))
  525. define Package/perlbase-gdbm-file
  526. $(call Package/perlbase-template)
  527. TITLE:=GDBM_File perl module
  528. DEPENDS+=+libgdbm +perlbase-essential +perlbase-tie +perlbase-xsloader
  529. endef
  530. define Package/perlbase-gdbm-file/install
  531. $(call perlmod/Install,$(1),GDBM_File.pm auto/GDBM_File,)
  532. $(call perlmod/InstallBaseTests,$(1),ext/GDBM_File/t)
  533. endef
  534. $(eval $(call BuildPackage,perlbase-gdbm-file))
  535. define Package/perlbase-getopt
  536. $(call Package/perlbase-template)
  537. TITLE:=Getopt perl module
  538. DEPENDS+=+perlbase-essential
  539. endef
  540. define Package/perlbase-getopt/install
  541. $(call perlmod/Install,$(1),Getopt,)
  542. $(call perlmod/InstallBaseTests,$(1),cpan/Getopt-Long/t lib/Getopt/Std.t)
  543. endef
  544. $(eval $(call BuildPackage,perlbase-getopt))
  545. define Package/perlbase-hash
  546. $(call Package/perlbase-template)
  547. TITLE:=Hash perl module
  548. DEPENDS+=+perlbase-essential +perlbase-scalar +perlbase-xsloader
  549. endef
  550. define Package/perlbase-hash/install
  551. $(call perlmod/Install,$(1),Hash auto/Hash,)
  552. $(call perlmod/InstallBaseTests,$(1),ext/Hash-Util-FieldHash/t ext/Hash-Util/t)
  553. endef
  554. $(eval $(call BuildPackage,perlbase-hash))
  555. define Package/perlbase-http-tiny
  556. $(call Package/perlbase-template)
  557. TITLE:=http-tiny perl module
  558. DEPENDS+=+perlbase-errno +perlbase-essential +perlbase-io
  559. endef
  560. define Package/perlbase-http-tiny/install
  561. $(call perlmod/Install,$(1),HTTP/Tiny.pm,)
  562. $(call perlmod/InstallBaseTests,$(1),cpan/HTTP-Tiny/corpus cpan/HTTP-Tiny/t)
  563. endef
  564. $(eval $(call BuildPackage,perlbase-http-tiny))
  565. define Package/perlbase-i18n
  566. $(call Package/perlbase-template)
  567. TITLE:=I18N perl module
  568. DEPENDS+=+perlbase-essential +perlbase-posix +perlbase-xsloader
  569. endef
  570. define Package/perlbase-i18n/install
  571. $(call perlmod/Install,$(1),I18N auto/I18N,I18N/LangTags/List.pm)
  572. $(call perlmod/InstallBaseTests,$(1),dist/I18N-Collate/t dist/I18N-LangTags/t ext/I18N-Langinfo/t)
  573. $(call perlmod/Install/NoStrip,$(1),I18N/LangTags/List.pm)
  574. endef
  575. $(eval $(call BuildPackage,perlbase-i18n))
  576. define Package/perlbase-if
  577. $(call Package/perlbase-template)
  578. TITLE:=if perl module
  579. endef
  580. define Package/perlbase-if/install
  581. $(call perlmod/Install,$(1),if.pm,)
  582. $(call perlmod/InstallBaseTests,$(1),dist/if/t)
  583. endef
  584. $(eval $(call BuildPackage,perlbase-if))
  585. define Package/perlbase-integer
  586. $(call Package/perlbase-template)
  587. TITLE:=integer perl module
  588. endef
  589. define Package/perlbase-integer/install
  590. $(call perlmod/Install,$(1),integer.pm,)
  591. $(call perlmod/InstallBaseTests,$(1),lib/integer.t)
  592. endef
  593. $(eval $(call BuildPackage,perlbase-integer))
  594. define Package/perlbase-io
  595. $(call Package/perlbase-template)
  596. TITLE:=IO perl module
  597. DEPENDS+=+perlbase-base +perlbase-bytes +perlbase-config +perlbase-errno +perlbase-essential +perlbase-fcntl +perlbase-list +perlbase-posix +perlbase-scalar +perlbase-selectsaver +perlbase-socket +perlbase-symbol +perlbase-tie +perlbase-xsloader
  598. endef
  599. define Package/perlbase-io/install
  600. $(call perlmod/Install,$(1),IO IO.pm auto/IO,)
  601. $(call perlmod/InstallBaseTests,$(1),cpan/IO-Compress/t cpan/IO-Socket-IP/t cpan/IO-Zlib/t dist/IO/Makefile.PL dist/IO/t)
  602. endef
  603. $(eval $(call BuildPackage,perlbase-io))
  604. define Package/perlbase-ipc
  605. $(call Package/perlbase-template)
  606. TITLE:=IPC perl module
  607. DEPENDS+=+perlbase-config +perlbase-essential +perlbase-file +perlbase-locale +perlbase-params +perlbase-symbol +perlbase-text
  608. endef
  609. define Package/perlbase-ipc/install
  610. $(call perlmod/Install,$(1),IPC auto/IPC,)
  611. $(call perlmod/InstallBaseTests,$(1),cpan/IPC-Cmd/t cpan/IPC-SysV/t ext/IPC-Open3/t)
  612. endef
  613. $(eval $(call BuildPackage,perlbase-ipc))
  614. define Package/perlbase-json-pp
  615. $(call Package/perlbase-template)
  616. TITLE:=json-pp perl module
  617. DEPENDS+=+perlbase-b +perlbase-base +perlbase-essential
  618. endef
  619. define Package/perlbase-json-pp/install
  620. $(call perlmod/Install,$(1),JSON/PP JSON/PP.pm,)
  621. $(call perlmod/InstallBaseTests,$(1),cpan/JSON-PP/t)
  622. endef
  623. $(eval $(call BuildPackage,perlbase-json-pp))
  624. define Package/perlbase-less
  625. $(call Package/perlbase-template)
  626. TITLE:=less perl module
  627. DEPENDS+=+perlbase-essential
  628. endef
  629. define Package/perlbase-less/install
  630. $(call perlmod/Install,$(1),less.pm,)
  631. $(call perlmod/InstallBaseTests,$(1),lib/less.t)
  632. endef
  633. $(eval $(call BuildPackage,perlbase-less))
  634. define Package/perlbase-list
  635. $(call Package/perlbase-template)
  636. TITLE:=List perl module
  637. DEPENDS+=+perlbase-essential +perlbase-xsloader
  638. endef
  639. define Package/perlbase-list/install
  640. $(call perlmod/Install,$(1),List auto/List,)
  641. endef
  642. $(eval $(call BuildPackage,perlbase-list))
  643. define Package/perlbase-locale
  644. $(call Package/perlbase-template)
  645. TITLE:=Locale perl module
  646. DEPENDS+=+perlbase-essential +perlbase-i18n +perlbase-integer +perlbase-utf8
  647. endef
  648. define Package/perlbase-locale/install
  649. $(call perlmod/Install,$(1),Locale,Locale/Constants.pod Locale/Country.pod Locale/Currency.pod Locale/Language.pod Locale/Maketext.pod Locale/Maketext/TPJ13.pod Locale/Script.pod)
  650. $(call perlmod/InstallBaseTests,$(1),cpan/Locale-Codes/t cpan/Locale-Maketext-Simple/t dist/Locale-Maketext/t)
  651. endef
  652. $(eval $(call BuildPackage,perlbase-locale))
  653. define Package/perlbase-math
  654. $(call Package/perlbase-template)
  655. TITLE:=Math perl module
  656. DEPENDS+=+perlbase-config +perlbase-essential +perlbase-scalar +perlbase-xsloader
  657. endef
  658. define Package/perlbase-math/install
  659. $(call perlmod/Install,$(1),Math auto/Math,)
  660. $(call perlmod/InstallBaseTests,$(1),cpan/Math-Complex/t dist/Math-BigInt-FastCalc/t dist/Math-BigInt/t dist/Math-BigRat/t)
  661. endef
  662. $(eval $(call BuildPackage,perlbase-math))
  663. define Package/perlbase-memoize
  664. $(call Package/perlbase-template)
  665. TITLE:=Memoize perl module
  666. DEPENDS+=+perlbase-config +perlbase-essential +perlbase-storable
  667. endef
  668. define Package/perlbase-memoize/install
  669. $(call perlmod/Install,$(1),Memoize Memoize.pm,)
  670. $(call perlmod/InstallBaseTests,$(1),cpan/Memoize/t)
  671. endef
  672. $(eval $(call BuildPackage,perlbase-memoize))
  673. define Package/perlbase-meta-notation
  674. $(call Package/perlbase-template)
  675. TITLE:=meta_notation module
  676. DEPENDS+=+perlbase-essential
  677. endef
  678. define Package/perlbase-meta-notation/install
  679. $(call perlmod/Install,$(1),meta_notation.pm,)
  680. $(call perlmod/InstallBaseTests,$(1),lib/meta_notation.t)
  681. endef
  682. $(eval $(call BuildPackage,perlbase-meta-notation))
  683. define Package/perlbase-mime
  684. $(call Package/perlbase-template)
  685. TITLE:=MIME perl module
  686. DEPENDS+=+perlbase-essential +perlbase-xsloader
  687. endef
  688. define Package/perlbase-mime/install
  689. $(call perlmod/Install,$(1),MIME auto/MIME,)
  690. $(call perlmod/InstallBaseTests,$(1),cpan/MIME-Base64/t)
  691. endef
  692. $(eval $(call BuildPackage,perlbase-mime))
  693. define Package/perlbase-module
  694. $(call Package/perlbase-template)
  695. TITLE:=Module perl module
  696. DEPENDS+=+perlbase-essential +perlbase-file +perlbase-filehandle +perlbase-locale +perlbase-params +perlbase-version
  697. endef
  698. define Package/perlbase-module/install
  699. $(call perlmod/Install,$(1),Module,)
  700. $(call perlmod/InstallBaseTests,$(1),cpan/Module-Load-Conditional/t cpan/Module-Load/t cpan/Module-Loaded/t cpan/Module-Metadata/corpus cpan/Module-Metadata/lib cpan/Module-Metadata/t dist/Module-CoreList/t)
  701. endef
  702. $(eval $(call BuildPackage,perlbase-module))
  703. define Package/perlbase-mro
  704. $(call Package/perlbase-template)
  705. TITLE:=mro perl module
  706. DEPENDS+=+perlbase-essential +perlbase-xsloader
  707. endef
  708. define Package/perlbase-mro/install
  709. $(call perlmod/Install,$(1),auto/mro mro.pm,)
  710. endef
  711. $(eval $(call BuildPackage,perlbase-mro))
  712. define Package/perlbase-net
  713. $(call Package/perlbase-template)
  714. TITLE:=Net perl module
  715. DEPENDS+=+perlbase-class +perlbase-errno +perlbase-essential +perlbase-fcntl +perlbase-filehandle +perlbase-io +perlbase-posix +perlbase-socket +perlbase-symbol +perlbase-time
  716. endef
  717. define Package/perlbase-net/install
  718. $(call perlmod/Install,$(1),Net,Net/libnetFAQ.pod)
  719. $(call perlmod/InstallBaseTests,$(1),cpan/libnet/t dist/Net-Ping/t lib/Net/hostent.t lib/Net/netent.t lib/Net/protoent.t lib/Net/servent.t)
  720. endef
  721. $(eval $(call BuildPackage,perlbase-net))
  722. define Package/perlbase-next
  723. $(call Package/perlbase-template)
  724. TITLE:=NEXT perl module
  725. DEPENDS+=+perlbase-essential
  726. endef
  727. define Package/perlbase-next/install
  728. $(call perlmod/Install,$(1),NEXT.pm,)
  729. $(call perlmod/InstallBaseTests,$(1),cpan/NEXT/t)
  730. endef
  731. $(eval $(call BuildPackage,perlbase-next))
  732. define Package/perlbase-o
  733. $(call Package/perlbase-template)
  734. TITLE:=O perl module
  735. DEPENDS+=+perlbase-b +perlbase-essential
  736. endef
  737. define Package/perlbase-o/install
  738. $(call perlmod/Install,$(1),O.pm,)
  739. endef
  740. $(eval $(call BuildPackage,perlbase-o))
  741. define Package/perlbase-opcode
  742. $(call Package/perlbase-template)
  743. TITLE:=Opcode perl module
  744. DEPENDS+=+perlbase-essential +perlbase-xsloader
  745. endef
  746. define Package/perlbase-opcode/install
  747. $(call perlmod/Install,$(1),auto/Opcode,)
  748. $(call perlmod/Install/NoStrip,$(1),Opcode.pm,)
  749. $(call perlmod/InstallBaseTests,$(1),ext/Opcode/t)
  750. endef
  751. $(eval $(call BuildPackage,perlbase-opcode))
  752. define Package/perlbase-open
  753. $(call Package/perlbase-template)
  754. TITLE:=open perl module
  755. DEPENDS+=+perlbase-essential
  756. endef
  757. define Package/perlbase-open/install
  758. $(call perlmod/Install,$(1),open.pm,)
  759. $(call perlmod/InstallBaseTests,$(1),lib/open.t)
  760. endef
  761. $(eval $(call BuildPackage,perlbase-open))
  762. define Package/perlbase-ops
  763. $(call Package/perlbase-template)
  764. TITLE:=ops perl module
  765. DEPENDS+=+perlbase-opcode
  766. endef
  767. define Package/perlbase-ops/install
  768. $(call perlmod/Install,$(1),ops.pm,)
  769. endef
  770. $(eval $(call BuildPackage,perlbase-ops))
  771. define Package/perlbase-ostype
  772. $(call Package/perlbase-template)
  773. TITLE:=OSType perl module
  774. DEPENDS+=+perlbase-essential
  775. endef
  776. define Package/perlbase-ostype/install
  777. $(call perlmod/Install,$(1),Perl/OSType.pm,)
  778. $(call perlmod/InstallBaseTests,$(1),cpan/Perl-OSType/t)
  779. endef
  780. $(eval $(call BuildPackage,perlbase-ostype))
  781. define Package/perlbase-params
  782. $(call Package/perlbase-template)
  783. TITLE:=Params perl module
  784. DEPENDS+=+perlbase-essential +perlbase-locale
  785. endef
  786. define Package/perlbase-params/install
  787. $(call perlmod/Install,$(1),Params,)
  788. $(call perlmod/InstallBaseTests,$(1),cpan/Params-Check/t)
  789. endef
  790. $(eval $(call BuildPackage,perlbase-params))
  791. define Package/perlbase-perl5db
  792. $(call Package/perlbase-template)
  793. TITLE:=perl5db perl module
  794. DEPENDS+=+perlbase-cwd +perlbase-essential
  795. endef
  796. define Package/perlbase-perl5db/install
  797. $(call perlmod/Install,$(1),perl5db.pl,)
  798. $(call perlmod/InstallBaseTests,$(1),lib/perl5db.t lib/perl5db/t)
  799. endef
  800. $(eval $(call BuildPackage,perlbase-perl5db))
  801. define Package/perlbase-perlio
  802. $(call Package/perlbase-template)
  803. TITLE:=PerlIO perl module
  804. DEPENDS+=+perlbase-essential +perlbase-mime +perlbase-xsloader
  805. endef
  806. define Package/perlbase-perlio/install
  807. $(call perlmod/Install,$(1),PerlIO PerlIO.pm auto/PerlIO,)
  808. $(call perlmod/InstallBaseTests,$(1),cpan/PerlIO-via-QuotedPrint/t ext/PerlIO-encoding/t ext/PerlIO-scalar/t ext/PerlIO-via/t)
  809. endef
  810. $(eval $(call BuildPackage,perlbase-perlio))
  811. define Package/perlbase-pod
  812. $(call Package/perlbase-template)
  813. TITLE:=Pod perl module
  814. DEPENDS+=+perlbase-config +perlbase-cwd +perlbase-encode +perlbase-essential +perlbase-fcntl +perlbase-file +perlbase-getopt +perlbase-integer +perlbase-posix +perlbase-symbol +perlbase-term +perlbase-text
  815. endef
  816. define Package/perlbase-pod/install
  817. $(call perlmod/Install,$(1),Pod,Pod/Usage.pm)
  818. $(call perlmod/Install/NoStrip,$(1),Pod/Usage.pm,)
  819. $(call perlmod/InstallBaseTests,$(1),cpan/Pod-Checker/t cpan/Pod-Escapes/t cpan/Pod-Parser/lib cpan/Pod-Parser/scripts cpan/Pod-Parser/t cpan/Pod-Perldoc/t cpan/Pod-Simple/t cpan/Pod-Usage/scripts cpan/Pod-Usage/t cpan/podlators/t ext/Pod-Functions/Functions.pm ext/Pod-Functions/t ext/Pod-Html/t lib/Pod/t)
  820. $(INSTALL_DIR) $(1)/usr/bin
  821. $(CP) $(PKG_INSTALL_DIR)/usr/bin/pod2man $(1)/usr/bin/
  822. $(CP) $(PKG_INSTALL_DIR)/usr/bin/pod2text $(1)/usr/bin/
  823. endef
  824. $(eval $(call BuildPackage,perlbase-pod))
  825. define Package/perlbase-posix
  826. $(call Package/perlbase-template)
  827. TITLE:=POSIX perl module
  828. DEPENDS+=+perlbase-essential +perlbase-fcntl +perlbase-tie +perlbase-xsloader
  829. endef
  830. define Package/perlbase-posix/install
  831. $(call perlmod/Install,$(1),POSIX.pm auto/POSIX,)
  832. $(call perlmod/InstallBaseTests,$(1),ext/POSIX/Makefile.PL ext/POSIX/POSIX.xs ext/POSIX/t)
  833. endef
  834. $(eval $(call BuildPackage,perlbase-posix))
  835. define Package/perlbase-re
  836. $(call Package/perlbase-template)
  837. TITLE:=re perl module
  838. DEPENDS+=+perlbase-essential
  839. endef
  840. define Package/perlbase-re/install
  841. $(call perlmod/Install,$(1),auto/re re.pm,)
  842. $(call perlmod/InstallBaseTests,$(1),ext/re/t)
  843. endef
  844. $(eval $(call BuildPackage,perlbase-re))
  845. define Package/perlbase-safe
  846. $(call Package/perlbase-template)
  847. TITLE:=Safe perl module
  848. DEPENDS+=+perlbase-b +perlbase-essential +perlbase-opcode +perlbase-scalar +perlbase-utf8
  849. endef
  850. define Package/perlbase-safe/install
  851. $(call perlmod/Install,$(1),Safe.pm,)
  852. $(call perlmod/InstallBaseTests,$(1),dist/Safe/t)
  853. endef
  854. $(eval $(call BuildPackage,perlbase-safe))
  855. define Package/perlbase-scalar
  856. $(call Package/perlbase-template)
  857. TITLE:=Scalar perl module
  858. DEPENDS+=+perlbase-essential +perlbase-list
  859. endef
  860. define Package/perlbase-scalar/install
  861. $(call perlmod/Install,$(1),Scalar Sub,)
  862. $(call perlmod/InstallBaseTests,$(1),cpan/Scalar-List-Utils/t)
  863. $(INSTALL_DIR) $(1)/$(PERL_TESTSDIR)/cpan/Scalar-List-Utils/blib
  864. endef
  865. $(eval $(call BuildPackage,perlbase-scalar))
  866. define Package/perlbase-sdbm-file
  867. $(call Package/perlbase-template)
  868. TITLE:=SDBM_File perl module
  869. DEPENDS+=+perlbase-essential +perlbase-tie +perlbase-xsloader
  870. endef
  871. define Package/perlbase-sdbm-file/install
  872. $(call perlmod/Install,$(1),SDBM_File.pm auto/SDBM_File,)
  873. $(call perlmod/InstallBaseTests,$(1),ext/SDBM_File/t)
  874. endef
  875. $(eval $(call BuildPackage,perlbase-sdbm-file))
  876. define Package/perlbase-search
  877. $(call Package/perlbase-template)
  878. TITLE:=Search perl module
  879. DEPENDS+=+perlbase-essential
  880. endef
  881. define Package/perlbase-search/install
  882. $(call perlmod/Install,$(1),Search,)
  883. $(call perlmod/InstallBaseTests,$(1),dist/Search-Dict/t)
  884. endef
  885. $(eval $(call BuildPackage,perlbase-search))
  886. define Package/perlbase-selectsaver
  887. $(call Package/perlbase-template)
  888. TITLE:=SelectSaver perl module
  889. DEPENDS+=+perlbase-essential +perlbase-symbol
  890. endef
  891. define Package/perlbase-selectsaver/install
  892. $(call perlmod/Install,$(1),SelectSaver.pm,)
  893. $(call perlmod/InstallBaseTests,$(1),lib/SelectSaver.t)
  894. endef
  895. $(eval $(call BuildPackage,perlbase-selectsaver))
  896. define Package/perlbase-selfloader
  897. $(call Package/perlbase-template)
  898. TITLE:=SelfLoader perl module
  899. DEPENDS+=+perlbase-essential +perlbase-io
  900. endef
  901. define Package/perlbase-selfloader/install
  902. $(call perlmod/Install,$(1),SelfLoader.pm,)
  903. $(call perlmod/InstallBaseTests,$(1),dist/SelfLoader/t)
  904. endef
  905. $(eval $(call BuildPackage,perlbase-selfloader))
  906. define Package/perlbase-sigtrap
  907. $(call Package/perlbase-template)
  908. TITLE:=sigtrap perl module
  909. DEPENDS+=+perlbase-essential +perlbase-meta-notation
  910. endef
  911. define Package/perlbase-sigtrap/install
  912. $(call perlmod/Install,$(1),sigtrap.pm,)
  913. $(call perlmod/InstallBaseTests,$(1),lib/sigtrap.t)
  914. endef
  915. $(eval $(call BuildPackage,perlbase-sigtrap))
  916. define Package/perlbase-socket
  917. $(call Package/perlbase-template)
  918. TITLE:=Socket perl module
  919. DEPENDS+=+perlbase-essential +perlbase-xsloader
  920. endef
  921. define Package/perlbase-socket/install
  922. $(call perlmod/Install,$(1),Socket.pm auto/Socket,)
  923. $(call perlmod/InstallBaseTests,$(1),cpan/Socket/t)
  924. endef
  925. $(eval $(call BuildPackage,perlbase-socket))
  926. define Package/perlbase-sort
  927. $(call Package/perlbase-template)
  928. TITLE:=sort perl module
  929. DEPENDS+=+perlbase-essential
  930. endef
  931. define Package/perlbase-sort/install
  932. $(call perlmod/Install,$(1),sort.pm,)
  933. $(call perlmod/InstallBaseTests,$(1),lib/sort.t)
  934. endef
  935. $(eval $(call BuildPackage,perlbase-sort))
  936. define Package/perlbase-storable
  937. $(call Package/perlbase-template)
  938. TITLE:=Storable perl module
  939. DEPENDS+=+perlbase-essential +perlbase-xsloader
  940. endef
  941. define Package/perlbase-storable/install
  942. $(call perlmod/Install,$(1),Storable.pm auto/Storable,)
  943. $(call perlmod/InstallBaseTests,$(1),dist/Storable/t)
  944. endef
  945. $(eval $(call BuildPackage,perlbase-storable))
  946. define Package/perlbase-symbol
  947. $(call Package/perlbase-template)
  948. TITLE:=Symbol perl module
  949. DEPENDS+=+perlbase-essential
  950. endef
  951. define Package/perlbase-symbol/install
  952. $(call perlmod/Install,$(1),Symbol.pm,)
  953. $(call perlmod/InstallBaseTests,$(1),lib/Symbol.t)
  954. endef
  955. $(eval $(call BuildPackage,perlbase-symbol))
  956. define Package/perlbase-sys
  957. $(call Package/perlbase-template)
  958. TITLE:=Sys perl module
  959. DEPENDS+=+perlbase-essential +perlbase-file +perlbase-posix +perlbase-socket
  960. endef
  961. define Package/perlbase-sys/install
  962. $(call perlmod/Install,$(1),Sys auto/Sys,)
  963. $(call perlmod/InstallBaseTests,$(1),cpan/Sys-Syslog/t ext/Sys-Hostname/t)
  964. endef
  965. $(eval $(call BuildPackage,perlbase-sys))
  966. define Package/perlbase-tap
  967. $(call Package/perlbase-template)
  968. TITLE:=TAP perl module
  969. DEPENDS+=+perlbase-base +perlbase-benchmark +perlbase-config +perlbase-essential +perlbase-file +perlbase-io +perlbase-posix +perlbase-text
  970. endef
  971. define Package/perlbase-tap/install
  972. $(call perlmod/Install,$(1),TAP,)
  973. endef
  974. $(eval $(call BuildPackage,perlbase-tap))
  975. define Package/perlbase-term
  976. $(call Package/perlbase-template)
  977. TITLE:=Term perl module
  978. DEPENDS+=+perlbase-essential
  979. endef
  980. define Package/perlbase-term/install
  981. $(call perlmod/Install,$(1),Term,)
  982. $(call perlmod/InstallBaseTests,$(1),cpan/Term-ANSIColor/t cpan/Term-Cap/test.pl dist/Term-Complete/t dist/Term-ReadLine/t)
  983. endef
  984. $(eval $(call BuildPackage,perlbase-term))
  985. define Package/perlbase-test
  986. $(call Package/perlbase-template)
  987. TITLE:=Test perl module
  988. DEPENDS+=+perlbase-base +perlbase-config +perlbase-essential +perlbase-io +perlbase-symbol +perlbase-tap +perlbase-text
  989. endef
  990. define Package/perlbase-test/install
  991. $(call perlmod/Install,$(1),Test Test.pm ok.pm,Test/Builder.pm Test/Harness/TAP.pod Test/More.pm Test/Tutorial.pod)
  992. $(call perlmod/Install/NoStrip,$(1),Test/Builder.pm Test/More.pm,)
  993. $(call perlmod/InstallBaseTests,$(1),cpan/Test-Harness/t cpan/Test-Simple/t cpan/Test/t)
  994. $(INSTALL_DIR) $(1)/usr/bin
  995. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prove $(1)/usr/bin
  996. endef
  997. $(eval $(call BuildPackage,perlbase-test))
  998. define Package/perlbase-text
  999. $(call Package/perlbase-template)
  1000. TITLE:=Text perl module
  1001. DEPENDS+=+perlbase-essential +perlbase-selfloader
  1002. endef
  1003. define Package/perlbase-text/install
  1004. $(call perlmod/Install,$(1),Text,)
  1005. $(call perlmod/InstallBaseTests,$(1),cpan/Text-Balanced/t cpan/Text-ParseWords/t cpan/Text-Tabs/t dist/Text-Abbrev/t)
  1006. endef
  1007. $(eval $(call BuildPackage,perlbase-text))
  1008. define Package/perlbase-thread
  1009. $(call Package/perlbase-template)
  1010. TITLE:=Thread perl module
  1011. DEPENDS+=+perlbase-essential +perlbase-scalar +perlbase-threads
  1012. endef
  1013. define Package/perlbase-thread/install
  1014. $(call perlmod/Install,$(1),Thread Thread.pm,)
  1015. $(call perlmod/InstallBaseTests,$(1),dist/Thread-Queue/t dist/Thread-Semaphore/t lib/Thread.t)
  1016. endef
  1017. $(eval $(call BuildPackage,perlbase-thread))
  1018. define Package/perlbase-threads
  1019. $(call Package/perlbase-template)
  1020. TITLE:=threads perl module
  1021. DEPENDS+=+perlbase-config +perlbase-essential +perlbase-scalar +perlbase-xsloader
  1022. endef
  1023. define Package/perlbase-threads/install
  1024. $(call perlmod/Install,$(1),auto/threads threads threads.pm,)
  1025. $(call perlmod/InstallBaseTests,$(1),dist/threads-shared/t dist/threads/t)
  1026. endef
  1027. $(eval $(call BuildPackage,perlbase-threads))
  1028. define Package/perlbase-tie
  1029. $(call Package/perlbase-template)
  1030. TITLE:=Tie perl module
  1031. DEPENDS+=+perlbase-essential +perlbase-fcntl +perlbase-xsloader
  1032. endef
  1033. define Package/perlbase-tie/install
  1034. $(call perlmod/Install,$(1),Tie auto/Tie,)
  1035. $(call perlmod/InstallBaseTests,$(1),cpan/Tie-RefHash/t dist/Tie-File/t ext/Tie-Hash-NamedCapture/t ext/Tie-Memoize/lib/Tie/Memoize.pm ext/Tie-Memoize/t lib/Tie/Array/push.t lib/Tie/Array/splice.t lib/Tie/Array/std.t lib/Tie/Array/stdpush.t lib/Tie/ExtraHash.t lib/Tie/Handle/stdhandle.t lib/Tie/Handle/stdhandle_from_handle.t lib/Tie/Hash.t lib/Tie/Scalar.t lib/Tie/SubstrHash.t)
  1036. endef
  1037. $(eval $(call BuildPackage,perlbase-tie))
  1038. define Package/perlbase-time
  1039. $(call Package/perlbase-template)
  1040. TITLE:=Time perl module
  1041. DEPENDS+=+perlbase-class +perlbase-config +perlbase-dynaloader +perlbase-essential
  1042. endef
  1043. define Package/perlbase-time/install
  1044. $(call perlmod/Install,$(1),Time auto/Time,)
  1045. $(call perlmod/InstallBaseTests,$(1),cpan/Time-HiRes/t cpan/Time-Local/t cpan/Time-Piece/t lib/Time/gmtime.t lib/Time/localtime.t)
  1046. endef
  1047. $(eval $(call BuildPackage,perlbase-time))
  1048. define Package/perlbase-unicode
  1049. $(call Package/perlbase-template)
  1050. TITLE:=Unicode perl module
  1051. DEPENDS+=+perlbase-base +perlbase-charnames +perlbase-dynaloader +perlbase-essential +perlbase-file
  1052. endef
  1053. define Package/perlbase-unicode/install
  1054. $(call perlmod/Install,$(1),Unicode auto/Unicode,)
  1055. $(call perlmod/InstallBaseTests,$(1),cpan/Unicode-Collate/t cpan/Unicode-Normalize/t lib/Unicode/UCD.t)
  1056. endef
  1057. $(eval $(call BuildPackage,perlbase-unicode))
  1058. define Package/perlbase-unicore
  1059. $(call Package/perlbase-template)
  1060. TITLE:=unicore perl module
  1061. endef
  1062. define Package/perlbase-unicore/install
  1063. $(call perlmod/Install,$(1),unicore,)
  1064. $(call perlmod/InstallBaseTests,$(1),lib/unicore/NameAliases.txt lib/unicore/PropValueAliases.txt lib/unicore/PropertyAliases.txt lib/unicore/UnicodeData.txt)
  1065. endef
  1066. $(eval $(call BuildPackage,perlbase-unicore))
  1067. define Package/perlbase-universal
  1068. $(call Package/perlbase-template)
  1069. TITLE:=UNIVERSAL perl module
  1070. endef
  1071. define Package/perlbase-universal/install
  1072. $(call perlmod/Install,$(1),UNIVERSAL.pm,)
  1073. endef
  1074. $(eval $(call BuildPackage,perlbase-universal))
  1075. define Package/perlbase-user
  1076. $(call Package/perlbase-template)
  1077. TITLE:=User perl module
  1078. DEPENDS+=+perlbase-class +perlbase-config +perlbase-essential
  1079. endef
  1080. define Package/perlbase-user/install
  1081. $(call perlmod/Install,$(1),User,)
  1082. $(call perlmod/InstallBaseTests,$(1),lib/User/grent.t lib/User/pwent.t)
  1083. endef
  1084. $(eval $(call BuildPackage,perlbase-user))
  1085. define Package/perlbase-utf8
  1086. $(call Package/perlbase-template)
  1087. TITLE:=utf8 perl module
  1088. DEPENDS+=+perlbase-essential +perlbase-re +perlbase-unicore
  1089. endef
  1090. define Package/perlbase-utf8/install
  1091. $(call perlmod/Install,$(1),utf8.pm utf8_heavy.pl,)
  1092. $(call perlmod/InstallBaseTests,$(1),lib/utf8.t)
  1093. endef
  1094. $(eval $(call BuildPackage,perlbase-utf8))
  1095. define Package/perlbase-version
  1096. $(call Package/perlbase-template)
  1097. TITLE:=version perl module
  1098. DEPENDS+=+perlbase-config +perlbase-essential
  1099. endef
  1100. define Package/perlbase-version/install
  1101. $(call perlmod/Install,$(1),version version.pm,)
  1102. $(call perlmod/InstallBaseTests,$(1),cpan/version/t)
  1103. endef
  1104. $(eval $(call BuildPackage,perlbase-version))
  1105. define Package/perlbase-xsloader
  1106. $(call Package/perlbase-template)
  1107. TITLE:=XSLoader perl module
  1108. endef
  1109. define Package/perlbase-xsloader/install
  1110. $(call perlmod/Install,$(1),XSLoader.pm,)
  1111. $(call perlmod/InstallBaseTests,$(1),dist/XSLoader/t ext/XS-APItest/t ext/XS-Typemap/t)
  1112. endef
  1113. $(eval $(call BuildPackage,perlbase-xsloader))
  1114. # Generated Fri Sep 25 07:47:59 2015