void-packages/srcpkgs/libass/template

29 lines
818 B
Plaintext

# Template build file for 'libass.
pkgname=libass
version=0.12.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="enca-devel fontconfig-devel fribidi-devel harfbuzz-devel>=0.9.5"
short_desc="A portable library for SSA/ASS subtitles rendering"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://code.google.com/p/libass/"
license="MIT"
distfiles="https://github.com/libass/libass/releases/download/${version}/libass-${version}.tar.gz"
checksum=699b1d711b1ba1c88f39a66839c6060f4a29e89e6188d08380284a5ce578ce5c
post_install() {
vlicense COPYING
}
libass-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}