37 lines
979 B
Bash
37 lines
979 B
Bash
# Template file for 'mimic'
|
|
pkgname=mimic
|
|
version=1.3.0.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-shared --enable-static"
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="alsa-lib-devel icu-devel pcre2-devel"
|
|
short_desc="Mycroft's lightweight Text-to-speech engine"
|
|
maintainer="Rubén Santos <kojicomics@cocaine.ninja>"
|
|
license="custom: permissive BSD-like"
|
|
homepage="https://github.com/MycroftAI/mimic"
|
|
changelog="https://github.com/MycroftAI/mimic1/releases"
|
|
distfiles="https://github.com/MycroftAI/mimic/archive/${version}.tar.gz"
|
|
checksum=9041f5c7d3720899c90c890ada179c92c3b542b90bb655c247e4a4835df79249
|
|
|
|
export CFLAGS="-Wno-error=free-nonheap-object"
|
|
|
|
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
|
|
}
|
|
}
|