2009-12-25 22:39:22 +01:00
|
|
|
# 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
|
2011-10-24 14:14:47 +02:00
|
|
|
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"
|
2009-12-25 22:39:22 +01:00
|
|
|
make_build_args="LDFLAGS+=-lstdc++"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="SDL-devel"
|
2009-12-25 22:39:22 +01:00
|
|
|
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"
|
2009-12-25 22:39:22 +01:00
|
|
|
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
|
2009-12-25 22:39:22 +01:00
|
|
|
|
2013-04-14 12:31:59 +02:00
|
|
|
post_install() {
|
2009-12-25 22:39:22 +01:00
|
|
|
# Remove unused stuff
|
|
|
|
rm -rf ${DESTDIR}/usr/share/man
|
|
|
|
rm -f ${DESTDIR}/usr/bin/plaympeg
|
|
|
|
}
|
2013-04-14 12:31:59 +02:00
|
|
|
|
|
|
|
smpeg-devel_package() {
|
2014-02-17 09:30:00 +01:00
|
|
|
depends="SDL-devel smpeg>=${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 12:31:59 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-17 09:30:00 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 12:31:59 +02:00
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|