New package: libyang-0.16r3

This commit is contained in:
Cameron Nemo 2019-03-03 20:38:12 -08:00 committed by maxice8
parent 3ab94f6f27
commit cfcea842f6
4 changed files with 39 additions and 0 deletions

View file

@ -3418,3 +3418,4 @@ libappmenu-gtk2-parser.so.0 appmenu-gtk-module-0.7.1_1
libappmenu-gtk3-parser.so.0 appmenu-gtk3-module-0.7.1_1
libqhttpengine.so.1 qhttpengine-1.0.1_1
libqmdnsengine.so.0 qmdnsengine-0.1.0_1
libyang.so.0.16 libyang-0.16r3_1

1
srcpkgs/libyang-devel Symbolic link
View file

@ -0,0 +1 @@
libyang

1
srcpkgs/libyang-tools Symbolic link
View file

@ -0,0 +1 @@
libyang

36
srcpkgs/libyang/template Normal file
View file

@ -0,0 +1,36 @@
# Template file for 'libyang'
pkgname=libyang
version=0.16r3
revision=1
_distver="${version/r/-r}"
wrksrc="libyang-${_distver}"
build_style=cmake
hostmakedepends="doxygen"
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=4745460dedc4ba17d8bcfc39ad9ba0d1b91bbe82b55b9417a090390909ba8ca5
post_install() {
vlicense LICENSE
}
libyang-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/libyang.so
}
}
libyang-tools_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
vmove usr/share
}
}