{"id":21307049,"url":"https://github.com/perlalien/alien-libbz2","last_synced_at":"2026-05-27T18:31:26.629Z","repository":{"id":34451753,"uuid":"38386944","full_name":"PerlAlien/Alien-Libbz2","owner":"PerlAlien","description":"Build and make available bz2","archived":false,"fork":false,"pushed_at":"2024-12-22T21:41:28.000Z","size":58,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T09:11:58.933Z","etag":null,"topics":["alien","bzip2","libbz2","perl"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PerlAlien.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-01T18:10:18.000Z","updated_at":"2022-05-31T19:26:22.000Z","dependencies_parsed_at":"2022-08-17T20:21:37.889Z","dependency_job_id":null,"html_url":"https://github.com/PerlAlien/Alien-Libbz2","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlAlien%2FAlien-Libbz2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlAlien%2FAlien-Libbz2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlAlien%2FAlien-Libbz2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlAlien%2FAlien-Libbz2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerlAlien","download_url":"https://codeload.github.com/PerlAlien/Alien-Libbz2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243784103,"owners_count":20347409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alien","bzip2","libbz2","perl"],"created_at":"2024-11-21T16:29:31.391Z","updated_at":"2025-12-12T02:45:37.405Z","avatar_url":"https://github.com/PerlAlien.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alien::Libbz2 ![linux](https://github.com/PerlAlien/Alien-Libbz2/workflows/linux/badge.svg)\n\nBuild and make available bz2\n\n# SYNOPSIS\n\nIn your Makefile.PL:\n\n```perl\nuse ExtUtils::MakeMaker;\nuse Alien::Base::Wrapper ();\n\nWriteMakefile(\n  Alien::Base::Wrapper-\u003enew('Alien::Libbz2')-\u003emm_args2(\n    # MakeMaker args\n    NAME =\u003e 'My::XS',\n    ...\n  ),\n);\n```\n\nIn your Build.PL:\n\n```perl\nuse Module::Build;\nuse Alien::Base::Wrapper qw( Alien::Libbz2 !export );\n\nmy $builder = Module::Build-\u003enew(\n  ...\n  configure_requires =\u003e {\n    'Alien::Libbz2' =\u003e '0',\n    ...\n  },\n  Alien::Base::Wrapper-\u003emb_args,\n  ...\n);\n\n$build-\u003ecreate_build_script;\n```\n\nIn your [FFI::Platypus](https://metacpan.org/pod/FFI::Platypus) script or module:\n\n```perl\nuse FFI::Platypus;\nuse Alien::Libbz2;\n\nmy $ffi = FFI::Platypus-\u003enew(\n  lib =\u003e [ Alien::Libbz2-\u003edynamic_libs ],\n);\n```\n\nIn your script or module:\n\n```perl\nuse Alien::Libbz2;\nuse Env qw( @PATH );\n\nunshift @PATH, Alien::Libbz2-\u003ebin_dir;\n```\n\n# DESCRIPTION\n\nThis [Alien](https://metacpan.org/pod/Alien) module provides the necessary compiler and linker flags needed\nfor using libbz2 in XS.\n\n# METHODS\n\n## bin\\_dir\n\n```perl\nmy @dirs = Alien::Libbz2-\u003ebin_dir;\n```\n\nReturns a list of directories that need to be added to `PATH` in order to use\nthe command line tools.\n\n## cflags\n\n```perl\nmy $cflags = Alien::Libbz2-\u003ecflags;\n```\n\nReturns the C compiler flags.\n\n## libs\n\n```perl\nmy $libs = Alien::Libbz2-\u003elibs;\n```\n\nReturns the linker flags.\n\n# HELPERS\n\n## bzip2\n\n```\n%{bzip2}\n```\n\nReturns the name of the bzip2 command.  Usually just `bzip2`.\n\n# SEE ALSO\n\n- [Alien::bz2](https://metacpan.org/pod/Alien::bz2)\n\n    Another libbz2 [Alien](https://metacpan.org/pod/Alien) module, but not implemented with [Alien::Base](https://metacpan.org/pod/Alien::Base).\n\n- [Compress::Bzip2](https://metacpan.org/pod/Compress::Bzip2)\n- [Compress::Raw::Bzip2](https://metacpan.org/pod/Compress::Raw::Bzip2)\n- [IO::Compress::Bzip2](https://metacpan.org/pod/IO::Compress::Bzip2)\n\n# AUTHOR\n\nGraham Ollis \u003cplicease@cpan.org\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2017 by Graham Ollis.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperlalien%2Falien-libbz2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperlalien%2Falien-libbz2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperlalien%2Falien-libbz2/lists"}