diff options
author | 2001-12-06 18:18:37 +0000 | |
---|---|---|
committer | 2001-12-06 18:18:37 +0000 | |
commit | f6aae6d874bea788f136baa3c3aedb6e4c769641 (patch) | |
tree | 04b6b7680b7cc2d2afb5411efa8ef0739cc26359 /media-video/avifile/avifile-0.6.0.20011130.ebuild | |
parent | new more secure openssh (diff) | |
download | historical-f6aae6d874bea788f136baa3c3aedb6e4c769641.tar.gz historical-f6aae6d874bea788f136baa3c3aedb6e4c769641.tar.bz2 historical-f6aae6d874bea788f136baa3c3aedb6e4c769641.zip |
Newer version, minor changes.
Diffstat (limited to 'media-video/avifile/avifile-0.6.0.20011130.ebuild')
-rw-r--r-- | media-video/avifile/avifile-0.6.0.20011130.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-video/avifile/avifile-0.6.0.20011130.ebuild b/media-video/avifile/avifile-0.6.0.20011130.ebuild new file mode 100644 index 000000000000..bb0220af1017 --- /dev/null +++ b/media-video/avifile/avifile-0.6.0.20011130.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# /space/gentoo/cvsroot/gentoo-x86/media-video/avifile/avifile-0.6.0.20011109.ebuild,v 1.4 2001/11/15 14:30:14 achim Exp + +A=${PN}-0.6.0-20011130 +S=${WORKDIR}/${P} +DESCRIPTION="Library for AVI-Files" + +SRC_URI="http://avifile.sourceforge.net/${A}.tgz" + +HOMEPAGE="http://divx.euro.ru/" + +DEPEND="media-libs/win32codecs + >=media-libs/libsdl-1.2.2 + >=media-libs/divx4linux-20011025 + qt? ( >=x11-libs/qt-x11-2.2.2 ) + nas? ( >=media-libs/nas-1.4.2 )" + +src_compile() { + local myconf + if [ -z "`use qt`" ] ; then + myconf="$myconf --disable-qt" + fi + if [ "`use nas`" ] ; then + LDFLAGS="-L/usr/X11R6/lib -lXt" + fi + export CFLAGS=${CFLAGS/-O?/-O2} + export LDFLAGS + ./configure --prefix=/usr --host=${CHOST} \ + --enable-quiet --disable-tsc $myconf || die +# cp Makefile Makefile.orig +# sed -e "s:/usr/lib/win32:${D}/usr/lib/win32:" \ +# Makefile.orig > Makefile + make || die +} + +src_install () { + + dodir /usr/lib /usr/bin + dodir /usr/lib/win32 + + make prefix=${D}/usr install || die + + cd ${S} + dodoc COPYING README + cd doc + dodoc CREDITS EXCEPTIONS FreeBSD LICENSING TODO + dodoc VIDEO-PERFORMANCE WARNINGS +} |