libyang: enable pkg-config and frr required option
This commit is contained in:
parent
62a6441864
commit
ae52c46493
1 changed files with 5 additions and 3 deletions
|
@ -1,11 +1,12 @@
|
|||
# Template file for 'libyang'
|
||||
pkgname=libyang
|
||||
version=0.16r3
|
||||
revision=1
|
||||
revision=2
|
||||
_distver="${version/r/-r}"
|
||||
wrksrc="libyang-${_distver}"
|
||||
build_style=cmake
|
||||
hostmakedepends="doxygen"
|
||||
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>"
|
||||
|
@ -20,10 +21,11 @@ post_install() {
|
|||
|
||||
libyang-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/libyang.so
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue