void-packages/srcpkgs/libmd/template

28 lines
749 B
Bash

# Template file for 'libmd'
pkgname=libmd
version=1.0.4
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=f51c921042e34beddeded4b75557656559cf5b1f2448033b4c1eec11c07e530f
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
}
}