void-packages/srcpkgs/smpeg/template

33 lines
938 B
Plaintext
Raw Normal View History

# Template file for 'smpeg'
pkgname=smpeg
2014-02-17 09:37:44 +01:00
version=0.4.5
2014-02-17 09:38:45 +01:00
revision=2
build_style=gnu-configure
2014-02-17 10:03:57 +01:00
configure_args="--with-sdl-prefix=${XBPS_CROSS_BASE}/usr --disable-gtk-player --disable-opengl-player"
make_build_args="LDFLAGS+=-lstdc++"
makedepends="SDL-devel"
short_desc="SDL MPEG Player Library"
2013-03-30 11:52:08 +01:00
homepage="https://icculus.org/smpeg/"
2014-02-17 09:30:00 +01:00
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
2014-02-17 09:37:44 +01:00
distfiles="ftp://slackware.oregonstate.edu/.1/vectorlinux/VL64-7.0/source/sourceVL/smpeg/${version}/src/smpeg-${version}.tar.gz"
checksum=1839c12e88d5dbbc767a7b94eeab2aa3efe4f0eebb7eb7c7240270ba93689a2b
post_install() {
# Remove unused stuff
rm -rf ${DESTDIR}/usr/share/man
rm -f ${DESTDIR}/usr/bin/plaympeg
}
smpeg-devel_package() {
2014-02-17 09:30:00 +01:00
depends="SDL-devel smpeg>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove "usr/lib/*.a"
2014-02-17 09:30:00 +01:00
vmove "usr/lib/*.so"
vmove usr/share
}
}