32 lines
942 B
Bash
32 lines
942 B
Bash
# Template file for 'smpeg'
|
|
pkgname=smpeg
|
|
version=0.4.5
|
|
revision=4
|
|
build_style=gnu-configure
|
|
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"
|
|
homepage="https://icculus.org/smpeg/"
|
|
license="LGPL-2.1"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
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() {
|
|
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
|
|
}
|
|
}
|