void-packages/srcpkgs/libmd/template
2021-10-19 23:55:56 +02:00

27 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
}
}