void-packages/srcpkgs/smpeg2/template

25 lines
694 B
Bash

# Template file for 'smpeg2'
pkgname=smpeg2
version=2.0.0
revision=6
build_style=gnu-configure
makedepends="SDL2-devel"
short_desc="SDL2 MPEG Player Library"
maintainer="rogi <rogi@skylittlesystem.org>"
license="LGPL-2.1-or-later"
homepage="https://icculus.org/smpeg/"
distfiles="https://www.libsdl.org/projects/smpeg/release/smpeg2-${version}.tar.gz"
checksum=979a65b211744a44fa641a9b6e4d64e64a12ff703ae776bafe3c4c4cd85494b3
smpeg2-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/smpeg2-config
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/aclocal
}
}