2009-12-30 23:42:38 +00:00
|
|
|
# Template file for 'libmp4v2'
|
|
|
|
pkgname=libmp4v2
|
|
|
|
version=1.6.1
|
2010-01-16 02:28:32 +00:00
|
|
|
revision=1
|
2009-12-30 23:42:38 +00:00
|
|
|
wrksrc="mpeg4ip-${version}"
|
|
|
|
distfiles="http://repository.slacky.eu/slackware-12.1/multimedia/mpeg4ip/$version/src/mpeg4ip-$version.tar.gz"
|
|
|
|
build_style=custom-install
|
|
|
|
short_desc="MPEG-4 library from mpeg4ip"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=7049793ab18efc7d36b0581ecf137b59b1d9e4cee1df20a4241ffd37ce510214
|
|
|
|
long_desc="
|
|
|
|
The MPEG4IP project provides a standards-based system for encoding,
|
|
|
|
streaming, and playing encoded audio, video and text. To achieve
|
|
|
|
this we've integrated a number of existing open source packages,
|
|
|
|
and created some original code to fill in the gaps."
|
|
|
|
|
|
|
|
subpackages="$pkgname-devel mpeg4ip"
|
|
|
|
Add_dependency run glibc
|
2010-01-16 02:28:32 +00:00
|
|
|
Add_dependency run libgcc
|
2009-12-30 23:42:38 +00:00
|
|
|
Add_dependency run libstdc++
|
|
|
|
|
2010-01-16 02:28:32 +00:00
|
|
|
do_build()
|
2009-12-30 23:42:38 +00:00
|
|
|
{
|
|
|
|
cd ${wrksrc} || return 1
|
|
|
|
touch bootstrapped && echo "" > lib/rtp/configure && \
|
|
|
|
echo "" > lib/SDLAudio/configure
|
|
|
|
./configure --prefix=/usr USENASM=no || return 1
|
|
|
|
for dir in lib/gnu lib/mp4av lib/mp4v2; do
|
|
|
|
cd ${wrksrc}/${dir}
|
|
|
|
make || return 1
|
2010-01-16 02:28:32 +00:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
for dir in lib/gnu lib/mp4av lib/mp4v2; do
|
|
|
|
cd ${wrksrc}/${dir}
|
2009-12-30 23:42:38 +00:00
|
|
|
make DESTDIR=${DESTDIR} install || return 1
|
|
|
|
done
|
|
|
|
install -d ${DESTDIR}/usr/include
|
2010-01-16 02:28:32 +00:00
|
|
|
install -m644 ${wrksrc}/include/mpeg4ip.h \
|
|
|
|
${DESTDIR}/usr/include || return 1
|
|
|
|
install -m644 ${wrksrc}/include/mpeg4ip_version.h \
|
|
|
|
${DESTDIR}/usr/include || return 1
|
|
|
|
install -m644 ${wrksrc}/mpeg4ip_config.h \
|
2009-12-30 23:42:38 +00:00
|
|
|
${DESTDIR}/usr/include || return 1
|
|
|
|
}
|