mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
73 lines
1.7 KiB
Bash
73 lines
1.7 KiB
Bash
SUMMARY="An implementation of the smjpeg decoding library"
|
|
DESCRIPTION="smjpeg is short for the SDL Motion JPEG library, originally \
|
|
developed by Loki Software, It is used to playback motion JPEGs and runs \
|
|
on just about any platform. It comes with one sample decoder, smjpeg_decode \
|
|
(console, no UI)."
|
|
HOMEPAGE="http://www.icculus.org/smjpeg"
|
|
COPYRIGHT="1999-2004 Sam Lantinga, Joe Tennies."
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="svn://svn.icculus.org/smjpeg/trunk/"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
smjpeg$secondaryArchSuffix = $portVersion compat >= 0
|
|
lib:libsmjpeg$secondaryArchSuffix = 0.2_0.0.2 compat >= 0.2_0
|
|
lib:libsmjpeg_0.2$secondaryArchSuffix = 0.0.2 compat >= 0
|
|
cmd:smjpeg_encode$secondaryArchSuffix = $portVersion compat >= 0
|
|
cmd:smjpeg_decode$secondaryArchSuffix = $portVersion compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
libsdl$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
smjpeg${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libsmjpeg$secondaryArchSuffix = 0.2_0.0.2 compat >= 0.2_0
|
|
devel:libsmjpeg_0.2$secondaryArchSuffix = 0.0.2 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
smjpeg$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libsdl$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
rm -f aclocal.m4
|
|
rm -f acinclude.m4
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
automake --foreign --add-missing
|
|
autoconf
|
|
runConfigure ./configure --enable-shared
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libsmjpeg
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|