unbound: fixed cross build; move so symlink to -devel.

This commit is contained in:
Juan RP 2014-07-08 12:28:59 +02:00
parent 7feaeac2ad
commit 522eabef68

View file

@ -1,10 +1,11 @@
# Template file for 'unbound' # Template file for 'unbound'
pkgname=unbound pkgname=unbound
version=1.4.22 version=1.4.22
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-libevent --with-conf-file=/etc/unbound/unbound.conf configure_args="--with-libevent --with-conf-file=/etc/unbound/unbound.conf
--with-pidfile=/run/unbound.pid" --with-pidfile=/run/unbound.pid --with-ssl=${XBPS_CROSS_BASE}/usr
--with-libevent=${XBPS_CROSS_BASE}/usr --with-libexpat=${XBPS_CROSS_BASE}/usr"
conf_file="/etc/unbound/unbound.conf" conf_file="/etc/unbound/unbound.conf"
makedepends="openssl-devel expat-devel libevent-devel" makedepends="openssl-devel expat-devel libevent-devel"
system_accounts="unbound" system_accounts="unbound"
@ -25,8 +26,9 @@ unbound-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove "usr/lib/*.a" vmove usr/lib/*.a
vmove "usr/share/man/man3/*.3" vmove usr/lib/*.so
vmove usr/share/man/man3
} }
} }