void-packages/srcpkgs/smpeg/template
2014-02-17 09:30:00 +01:00

32 lines
856 B
Text

# Template file for 'smpeg'
pkgname=smpeg
version=0.4.4
revision=6
build_style=gnu-configure
configure_args="--disable-gtk-player --disable-opengl-player"
make_build_args="LDFLAGS+=-lstdc++"
makedepends="SDL-devel"
short_desc="SDL MPEG Player Library"
homepage="https://icculus.org/smpeg/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://mirrors.dotsrc.org/lokigames/open-source/smpeg/smpeg-$version.tar.gz"
checksum=1efa7984d0aada0c2954cd0aaef357e9d7871dadd3368dbe742ab5f260523e57
post_install() {
# Remove unused stuff
rm -rf ${DESTDIR}/usr/share/man
rm -f ${DESTDIR}/usr/bin/plaympeg
}
smpeg-devel_package() {
depends="SDL-devel smpeg>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}