Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bincrafters/conan-libnsl
Conan recipe for libnsl
https://github.com/bincrafters/conan-libnsl
conan libnsl rpc
Last synced: 10 days ago
JSON representation
Conan recipe for libnsl
- Host: GitHub
- URL: https://github.com/bincrafters/conan-libnsl
- Owner: bincrafters
- License: mit
- Created: 2019-05-11T19:45:45.000Z (over 5 years ago)
- Default Branch: stable/1.2.0
- Last Pushed: 2022-10-31T21:40:20.000Z (about 2 years ago)
- Last Synced: 2024-10-30T00:55:39.848Z (about 2 months ago)
- Topics: conan, libnsl, rpc
- Language: Python
- Homepage: https://github.com/thkukuk/libnsl/
- Size: 19.5 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![Download](https://api.bintray.com/packages/bincrafters/public-conan/libnsl%3Abincrafters/images/download.svg) ](https://bintray.com/bincrafters/public-conan/libnsl%3Abincrafters/_latestVersion)
[![Build Status](https://travis-ci.com/bincrafters/conan-libnsl.svg?branch=stable%2F1.2.0)](https://travis-ci.com/bincrafters/conan-libnsl)[Conan](https://conan.io) package recipe for [*libnsl*](https://github.com/thkukuk/libnsl/).
libnsl contains the public client interface for NIS(YP) and NIS+ in a IPv6 ready version
The packages generated with this **conanfile** can be found on [Bintray](https://bintray.com/bincrafters/public-conan/libnsl%3Abincrafters).
## For Users: Use this package
### Basic setup
$ conan install libnsl/1.2.0@bincrafters/stable
### Project setup
If you handle multiple dependencies in your project is better to add a *conanfile.txt*
[requires]
libnsl/1.2.0@bincrafters/stable[generators]
pkg_configComplete the installation of requirements for your project running:
$ mkdir build && cd build && conan install ..
Note: It is recommended that you run conan install from a build directory and not the root of the project directory. This is because conan generates *conanbuildinfo* files specific to a single build configuration which by default comes from an autodetected default profile located in ~/.conan/profiles/default . If you pass different build configuration options to conan install, it will generate different *conanbuildinfo* files. Thus, they should not be added to the root of the project, nor committed to git.
## For Packagers: Publish this Package
The example below shows the commands used to publish to bincrafters conan repository. To publish to your own conan respository (for example, after forking this git repository), you will need to change the commands below accordingly.
## Build and package
The following command both runs all the steps of the conan file, and publishes the package to the local system cache. This includes downloading dependencies from "build_requires" and "requires" , and then running the build() method.
$ conan create bincrafters/stable
### Available Options
| Option | Default | Possible Values |
| ------------- |:----------------- |:------------:|
| shared | False | [True, False] |
| fPIC | True | [True, False] |## Add Remote
$ conan remote add bincrafters "https://api.bintray.com/conan/bincrafters/public-conan"
## Upload
$ conan upload libnsl/1.2.0@bincrafters/stable --all -r bincrafters
## Conan Recipe License
NOTE: The conan recipe license applies only to the files of this recipe, which can be used to build and package libnsl.
It does *not* in any way apply or is related to the actual software being packaged.[MIT](https://github.com/bincrafters/conan-libnsl.git/blob/testing/1.2.0/LICENSE)