Alien-ckdl

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

make test
make install
```

The build fetches
`https://github.com/tjol/ckdl/archive/<SHA>.tar.gz`, extracts it, and
compiles the static library into the Alien share directory. The pinned
commit is set via `$CKDL_COMMIT` in `alienfile`, so builds are
reproducible: the source is pinned, not floating. Each fetch is stamped
with a synthetic version of the form `0.0.0-<first-12-chars-of-sha>`.
To roll forward, edit `$CKDL_COMMIT` in `alienfile`.

## Using it from Perl

```perl
use Alien::ckdl;

print Alien::ckdl->cflags, "\n";  # -I/.../include
print Alien::ckdl->libs,   "\n";  # -L/.../lib -lkdl
```

README.md  view on Meta::CPAN

template if you need to verify the Alien works on a target platform.

## Versioning

This Alien pins a specific upstream commit of `tjol/ckdl` rather than
tracking a branch or a tagged release. The Perl distribution version
(in `lib/Alien/ckdl.pm`) identifies the Alien itself; the C library
version it produces is recorded as `0.0.0-<first-12-chars-of-sha>`,
where the SHA is the value of `$CKDL_COMMIT` in `alienfile`.

To move to a different upstream commit, edit `$CKDL_COMMIT` in
`alienfile` and reinstall.

## Troubleshooting

**Build fails with "could not locate extracted ckdl source tree"**
The fetched tarball did not extract into the expected `ckdl-*` directory.
Re-run with `ALIEN_BUILD_PRELOAD=Prefer::FetchAny` or inspect the
contents of `_alien/` to see what was downloaded.

**`make test` fails with linker errors**



( run in 1.361 second using v1.01-cache-2.11-cpan-13bb782fe5a )