# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Dietrich Heise # $Header:$ # This ebuild was generated by Ebuilder v0.4. S="${WORKDIR}/${P}" DESCRIPTION="Trophie is a daemon which uses 'libvsapi' library from TrendMicro anti virus vendor ( www.antivirus.com )." SRC_URI="http://www.vanja.com/tools/trophie/${P}.tar.bz2" HOMEPAGE="http://www.vanja.com/tools/trophie/" LICENSE="GPL-2" DEPEND="" src_unpack() { die_flag="" if [ ! -f /etc/iscan/libvsapi.so ] ; then eerror "Please download the Scan Engine from" eerror " http://www.trendmicro.com.au/download/scan_engine/" eerror "and extract the libvsapi.so to /etc/iscan/" die_flag=1 fi if [ ! -f /etc/iscan/lpt\$vpn.* ] ; then eerror "Please download the virus pattern file from" eerror " http://www.trendmicro.com.au/download/pattern_update.htm" eerror "Extract the pattern file to /etc/iscan/" die_flag=1 fi [ ! -z ${die_flag} ] && die "Some needed files where not found!" unpack "${P}.tar.bz2" cd "${S}" } src_compile() { ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "./configure failed" # emake (previously known as pmake) is a script that calls the # standard GNU make with parallel building options for speedier # builds (especially on SMP systems). Try emake first. It might # not work for some packages, in which case you'll have to resort # to normal "make". emake || die #make || die } src_install () { into /usr dobin trophie # Install documentation. dodoc Changes CREDITS LICENSE README } pkg_config() { echo "Performing configuration routines for ${P}." }