void-packages/srcpkgs/mimic/template
2018-10-26 10:55:34 +02:00

33 lines
841 B
Bash

# Template file for 'mimic'
pkgname=mimic
version=1.2.0.2
revision=3
build_style=gnu-configure
configure_args="--enable-shared --enable-static"
hostmakedepends="automake libtool pkg-config"
makedepends="alsa-lib-devel icu-devel"
short_desc="Mycroft's lightweight Text-to-speech engine"
maintainer="Rubén Santos <kojicomics@cocaine.ninja>"
license="custom"
homepage="https://github.com/MycroftAI/mimic"
distfiles="https://github.com/MycroftAI/mimic/archive/${version}.tar.gz"
checksum=6adcc9911b09d6e9513add41ad9dfc0893ece277f556419869520a0f0708c102
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
}
mimic-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}