void-packages/srcpkgs/libass/template

29 lines
819 B
Bash

# Template build file for 'libass.
pkgname=libass
version=0.12.2
revision=1
build_style=gnu-configure
hostmakedepends="yasm pkg-config"
makedepends="enca-devel fontconfig-devel fribidi-devel harfbuzz-devel"
short_desc="A portable library for SSA/ASS subtitles rendering"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://code.google.com/p/libass/"
license="MIT"
distfiles="https://github.com/libass/libass/releases/download/${version}/libass-${version}.tar.gz"
checksum=b9288f9b30facb01aa8030d684ac341073dca7fc5dc3c1cec93d59567cb085a3
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
}
}