void-packages/srcpkgs/sonic/template

34 lines
759 B
Bash

# Template file for 'sonic'
pkgname=sonic
version=0.2.0
revision=1
build_style=gnu-makefile
short_desc="Simple library to speed up or slow down speech"
maintainer="Joey <joey@imap.cc>"
license="Apache-2.0"
homepage="https://github.com/waywardgeek/sonic"
distfiles="https://github.com/waywardgeek/sonic/archive/release-${version}.tar.gz"
checksum=c7827ce576838467590ffa1f935fbe1049e896dfed6c515cf569ad3779c24085
CFLAGS="-fPIC"
post_install() {
vman sonic.1
}
libsonic_package() {
short_desc+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libsonic-devel_package() {
depends="libsonic>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}