summaryrefslogtreecommitdiff
blob: 1c3a485158aba8022939e92495cd8597ba060fc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# /home/cvsroot/gentoo-x86/media-video/vcr/vcr-1.08.ebuild
# ${P} == package name <path>/<$P>.ebuild
# ${D} == temporary directory where to install the stuff (/tmp/portage/<$P>/image)
# ${WORKDIR} == /tmp/portage/${P}/work
# $Header: /var/cvsroot/gentoo-x86/incoming/vcr-1.08.ebuild,v 1.3 2001/08/31 03:23:39 pm Exp $


A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Console base vcr program"
SRC_URI="http://www.stack.nl/~brama/vcr/src/${P}.tar.gz"
HOMEPAGE="http://www.stack.nl/~brama/vcr/index.html"

#DEPEND="avifile 0.53 || 0.6"
#RDEPEND="??"

src_compile() {
# some more experienced might make chech here if we have avifile 0.53 or 0.6
# and add --enable-avifile-0_6 to configure then

    export CFLAGS=${CFLAGS/-O?/-O2}
    try autoconf
    try automake
    try LDFLAGS="$LDFLAGS" ./configure --host=${CHOST} --prefix=/usr --with-avifile-libs=/usr/X11R6/lib
    try make

}

src_install () {
    make prefix=${D}/usr install

    cd ${S}
    dodoc README TODO NEWS COPYING AUTHORS INSTALL vcr.1
    cd doc
    dodoc README.vcrtimer program_vcr.sh sample.vcrrc sample.vcrtimerrc
    dodoc vcrtimer.pl
}