void-packages/srcpkgs/libmd/template

28 lines
749 B
Bash

# Template file for 'libmd'
pkgname=libmd
version=1.0.3
revision=1
build_style=gnu-configure
short_desc="Message Digest functions from BSD systems"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-3-Clause, BSD-2-Clause, ISC, Beerware, custom:Public Domain"
homepage="https://www.hadrons.org/software/libmd/"
distfiles="https://archive.hadrons.org/software/libmd/libmd-${version}.tar.xz"
checksum=5a02097f95cc250a3f1001865e4dbba5f1d15554120f95693c0541923c52af4a
post_install() {
vlicense COPYING
}
libmd-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
}
}