b9bb0daef3
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
38 lines
932 B
Bash
38 lines
932 B
Bash
# Template file for 'libyang'
|
|
pkgname=libyang
|
|
version=1.0r5
|
|
revision=1
|
|
_distver="${version/r/-r}"
|
|
wrksrc="libyang-${_distver}"
|
|
build_style=cmake
|
|
configure_args="-DENABLE_LYD_PRIV=ON"
|
|
hostmakedepends="doxygen pkg-config"
|
|
makedepends="pcre-devel"
|
|
short_desc="YANG data modeling language library"
|
|
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/CESNET/libyang"
|
|
distfiles="https://github.com/CESNET/libyang/archive/v${_distver}.tar.gz"
|
|
checksum=a40fc25b8f2668c9554ea6f72d8ea2bbe1d8b6c60c95e011d179852a50d40930
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libyang-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/libyang.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
libyang-tools_package() {
|
|
short_desc+=" - utilities"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/share
|
|
}
|
|
}
|