void-packages/srcpkgs/libbsd/template
maxice8 b636da69bf
libbsd: update to 0.9.1.
Closes #14632.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-25 14:38:39 +02:00

27 lines
731 B
Bash

# Template file for 'libbsd'
pkgname=libbsd
version=0.9.1
revision=1
build_style=gnu-configure
makedepends="libressl-devel"
short_desc="Provides useful functions commonly found on BSD system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD-3-Clause"
homepage="https://libbsd.freedesktop.org/"
distfiles="https://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz"
checksum=56d835742327d69faccd16955a60b6dcf30684a8da518c4eca0ac713b9e0a7a4
post_install() {
vlicense COPYING
}
libbsd-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}