Files
haikuports/media-libs/smpeg/smpeg-0.4.5.recipe
2013-10-20 01:34:36 -07:00

80 lines
1.4 KiB
Plaintext

SUMMARY="smpeg is an mpeg decoing library."
DESCRIPTION="smpeg is an mpeg decoding library, which runs on just about any platform. It comes with a sample decoder, plaympeg."
HOMEPAGE="http://www.icculus.org/smpeg"
SRC_URI="svn://svn.icculus.org/smpeg/tags/release_0_4_5"
LICENSE="GNU LGPL v2"
COPYRIGHT="1999-2004 Sam Lantinga, Joe Tennies."
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
smpeg = 0.4.5 compat >= 0
cmd:smpeg = 0.4.5 compat >= 0
cmd:plaympeg = 0.4.5 compat >= 0
cmd:glmovie = 0.4.5 compat >= 0
"
REQUIRES="
haiku
lib:libglu
lib:libsdl
"
BUILD_REQUIRES="
haiku_devel
devel:libsdl
devel:libglu
"
BUILD_PREREQUIRES="
haiku
cmd:gcc
cmd:libtoolize
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:ld
cmd:make
lib:libsdl
"
BUILD()
{
rm -f acinclude.m4
rm -f aclocal.m4
echo "AC_CONFIG_MACRO_DIR([acinclude]) > configure.in"
libtoolize --copy --force --install
aclocal --install -I acinclude
automake --foreign --add-missing
autoconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libsmpeg
fixPkgconfig
# devel package
packageEntries devel \
$developDir $binDir/smpeg-config
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
smpeg_devel = $portVersion
devel:smpeg = 0.4.5 compat >= 0
devel:libsmpeg = 0.1.4 compat >= 0
"
REQUIRES_devel="
smpeg == $portVersion base
"