You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1559 lines
42 KiB

  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. DEPENDS+=+perlbase-essential
  210. endef
  211. define Package/perlbase-config/install
  212. $(call perlmod/Install,$(1),Config Config.pm Config_git.pl Config_heavy.pl,)
  213. $(call perlmod/InstallBaseTests,$(1),cpan/Config-Perl-V/t lib/Config.t lib/Config/Extensions.t)
  214. endef
  215. $(eval $(call BuildPackage,perlbase-config))
  216. define Package/perlbase-cpan
  217. $(call Package/perlbase-template)
  218. TITLE:=CPAN perl module
  219. 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
  220. endef
  221. define Package/perlbase-cpan/install
  222. $(call perlmod/Install,$(1),CPAN CPAN.pm Parse/CPAN/Meta.pm,CPAN/FirstTime.pm)
  223. $(call perlmod/Install/NoStrip,$(1),CPAN/FirstTime.pm,)
  224. $(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)
  225. endef
  226. $(eval $(call BuildPackage,perlbase-cpan))
  227. define Package/perlbase-cwd
  228. $(call Package/perlbase-template)
  229. TITLE:=Cwd perl module
  230. DEPENDS+=+perlbase-essential
  231. endef
  232. define Package/perlbase-cwd/install
  233. $(call perlmod/Install,$(1),Cwd.pm auto/Cwd,)
  234. endef
  235. $(eval $(call BuildPackage,perlbase-cwd))
  236. define Package/perlbase-data
  237. $(call Package/perlbase-template)
  238. TITLE:=Data perl module
  239. DEPENDS+=+perlbase-essential
  240. endef
  241. define Package/perlbase-data/install
  242. $(call perlmod/Install,$(1),Data auto/Data,)
  243. $(call perlmod/InstallBaseTests,$(1),dist/Data-Dumper/t)
  244. endef
  245. $(eval $(call BuildPackage,perlbase-data))
  246. define Package/perlbase-db
  247. $(call Package/perlbase-template)
  248. TITLE:=DB perl module
  249. DEPENDS+=+libdb47 +perlbase-essential +perlbase-meta-notation
  250. endef
  251. define Package/perlbase-db/install
  252. $(call perlmod/Install,$(1),DB.pm,)
  253. $(call perlmod/InstallBaseTests,$(1),lib/DB.t)
  254. endef
  255. $(eval $(call BuildPackage,perlbase-db))
  256. define Package/perlbase-db-file
  257. $(call Package/perlbase-template)
  258. TITLE:=DB_File perl module
  259. DEPENDS+=+libdb47 +perlbase-essential +perlbase-tie
  260. endef
  261. define Package/perlbase-db-file/install
  262. $(call perlmod/Install,$(1),DB_File.pm auto/DB_File,)
  263. $(call perlmod/InstallBaseTests,$(1),cpan/DB_File/t)
  264. endef
  265. $(eval $(call BuildPackage,perlbase-db-file))
  266. define Package/perlbase-dbm-filter
  267. $(call Package/perlbase-template)
  268. TITLE:=DBM_Filter perl module
  269. DEPENDS+=+perlbase-essential
  270. endef
  271. define Package/perlbase-dbm-filter/install
  272. $(call perlmod/Install,$(1),DBM_Filter DBM_Filter.pm,)
  273. $(call perlmod/InstallBaseTests,$(1),lib/DBM_Filter/t lib/dbm_filter_util.pl)
  274. endef
  275. $(eval $(call BuildPackage,perlbase-dbm-filter))
  276. define Package/perlbase-devel
  277. $(call Package/perlbase-template)
  278. TITLE:=Devel perl module
  279. DEPENDS+=+perlbase-essential +perlbase-file +perlbase-selfloader +perlbase-xsloader
  280. endef
  281. define Package/perlbase-devel/install
  282. $(call perlmod/Install,$(1),Devel auto/Devel,Devel/PPPort.pm)
  283. $(call perlmod/Install/NoStrip,$(1),Devel/PPPort.pm,)
  284. $(call perlmod/InstallBaseTests,$(1),cpan/Devel-PPPort/t dist/Devel-SelfStubber/t ext/Devel-Peek/t)
  285. endef
  286. $(eval $(call BuildPackage,perlbase-devel))
  287. define Package/perlbase-diagnostics
  288. $(call Package/perlbase-template)
  289. TITLE:=diagnostics perl module
  290. DEPENDS+=+perlbase-config +perlbase-essential +perlbase-text
  291. endef
  292. define Package/perlbase-diagnostics/install
  293. $(call perlmod/Install,$(1),diagnostics.pm,)
  294. $(call perlmod/InstallBaseTests,$(1),lib/diagnostics.t pod/perldiag.pod)
  295. endef
  296. $(eval $(call BuildPackage,perlbase-diagnostics))
  297. define Package/perlbase-digest
  298. $(call Package/perlbase-template)
  299. TITLE:=Digest perl module
  300. DEPENDS+=+perlbase-dynaloader +perlbase-essential +perlbase-fcntl +perlbase-integer
  301. endef
  302. define Package/perlbase-digest/install
  303. $(call perlmod/Install,$(1),Digest Digest.pm auto/Digest,)
  304. $(call perlmod/InstallBaseTests,$(1),cpan/Digest-MD5/MD5.xs cpan/Digest-MD5/t cpan/Digest-SHA/t cpan/Digest/t)
  305. $(INSTALL_DIR) $(1)/$(PERL_TESTSDIR)/cpan/Digest-SHA/src
  306. endef
  307. $(eval $(call BuildPackage,perlbase-digest))
  308. define Package/perlbase-dirhandle
  309. $(call Package/perlbase-template)
  310. TITLE:=DirHandle perl module
  311. DEPENDS+=+perlbase-essential +perlbase-symbol
  312. endef
  313. define Package/perlbase-dirhandle/install
  314. $(call perlmod/Install,$(1),DirHandle.pm,)
  315. $(call perlmod/InstallBaseTests,$(1),lib/DirHandle.t)
  316. endef
  317. $(eval $(call BuildPackage,perlbase-dirhandle))
  318. define Package/perlbase-dumpvalue
  319. $(call Package/perlbase-template)
  320. TITLE:=Dumpvalue perl module
  321. DEPENDS+=+perlbase-essential
  322. endef
  323. define Package/perlbase-dumpvalue/install
  324. $(call perlmod/Install,$(1),Dumpvalue.pm,)
  325. $(call perlmod/InstallBaseTests,$(1),dist/Dumpvalue/t)
  326. endef
  327. $(eval $(call BuildPackage,perlbase-dumpvalue))
  328. define Package/perlbase-dumpvar
  329. $(call Package/perlbase-template)
  330. TITLE:=dumpvar perl module
  331. endef
  332. define Package/perlbase-dumpvar/install
  333. $(call perlmod/Install,$(1),dumpvar.pl,)
  334. $(call perlmod/InstallBaseTests,$(1),lib/dumpvar.t)
  335. endef
  336. $(eval $(call BuildPackage,perlbase-dumpvar))
  337. define Package/perlbase-dynaloader
  338. $(call Package/perlbase-template)
  339. TITLE:=DynaLoader perl module
  340. DEPENDS+=+perlbase-config
  341. endef
  342. define Package/perlbase-dynaloader/install
  343. $(call perlmod/Install,$(1),DynaLoader.pm,)
  344. $(call perlmod/InstallBaseTests,$(1),ext/DynaLoader/t)
  345. endef
  346. $(eval $(call BuildPackage,perlbase-dynaloader))
  347. define Package/perlbase-encode
  348. $(call Package/perlbase-template)
  349. TITLE:=Encode perl module
  350. DEPENDS+=+perlbase-essential +perlbase-mime +perlbase-utf8 +perlbase-xsloader
  351. endef
  352. define Package/perlbase-encode/install
  353. $(call perlmod/Install,$(1),Encode Encode.pm auto/Encode,Encode/PerlIO.pod Encode/Supported.pod)
  354. $(call perlmod/InstallBaseTests,$(1),cpan/Encode/t)
  355. endef
  356. $(eval $(call BuildPackage,perlbase-encode))
  357. define Package/perlbase-encoding
  358. $(call Package/perlbase-template)
  359. TITLE:=encoding perl module
  360. DEPENDS+=+perlbase-encode +perlbase-essential
  361. endef
  362. define Package/perlbase-encoding/install
  363. $(call perlmod/Install,$(1),encoding encoding.pm,)
  364. $(call perlmod/InstallBaseTests,$(1),cpan/encoding-warnings/t)
  365. endef
  366. $(eval $(call BuildPackage,perlbase-encoding))
  367. define Package/perlbase-english
  368. $(call Package/perlbase-template)
  369. TITLE:=English perl module
  370. DEPENDS+=+perlbase-essential
  371. endef
  372. define Package/perlbase-english/install
  373. $(call perlmod/Install,$(1),English.pm,)
  374. $(call perlmod/InstallBaseTests,$(1),lib/English.t)
  375. endef
  376. $(eval $(call BuildPackage,perlbase-english))
  377. define Package/perlbase-env
  378. $(call Package/perlbase-template)
  379. TITLE:=Env perl module
  380. DEPENDS+=+perlbase-config +perlbase-tie
  381. endef
  382. define Package/perlbase-env/install
  383. $(call perlmod/Install,$(1),Env.pm,)
  384. $(call perlmod/InstallBaseTests,$(1),dist/Env/t)
  385. endef
  386. $(eval $(call BuildPackage,perlbase-env))
  387. define Package/perlbase-errno
  388. $(call Package/perlbase-template)
  389. TITLE:=Errno perl module
  390. DEPENDS+=+perlbase-config +perlbase-essential
  391. endef
  392. define Package/perlbase-errno/install
  393. $(call perlmod/Install,$(1),Errno.pm,)
  394. $(call perlmod/InstallBaseTests,$(1),ext/Errno/t)
  395. endef
  396. $(eval $(call BuildPackage,perlbase-errno))
  397. define Package/perlbase-essential
  398. $(call Package/perlbase-template)
  399. TITLE:=essential perl module
  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
  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 Tue Aug 25 21:14:51 2015