void-packages/srcpkgs/libnl3/template
2015-06-02 11:15:33 +02:00

38 lines
933 B
Bash

# Template file for 'libnl3'
pkgname=libnl3
version=3.2.25
revision=2
wrksrc=libnl-${version}
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --disable-static"
hostmakedepends="automake flex libtool pkg-config"
conf_files="/etc/libnl/pktloc /etc/libnl/classid"
short_desc="Netlink Protocol Library Suite"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://www.infradead.org/~tgr/libnl"
distfiles="${homepage}/files/libnl-${version}.tar.gz"
checksum=8beb7590674957b931de6b7f81c530b85dc7c1ad8fbda015398bc1e8d1ce8ec5
pre_configure() {
autoreconf -fi
}
libnl3-devel_package() {
depends="libnl3>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libnl3-progs_package() {
short_desc+=" - cli utilities"
pkg_install() {
vmove usr/bin
vmove usr/share/man/man8
vmove usr/lib/libnl
}
}