# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/sysfsutils/sysfsutils-0.3.0.ebuild,v 1.5 2004/07/15 03:42:55 agriffis Exp $ inherit libtool DESCRIPTION="AVFS is a system, which enables all programs to look inside gzip, tar, zip, etc. files or view remote (ftp, http, dav, etc.) files, without recompiling the programs. With FUSE a userspace program can export a filesystem through the Linux kernel." HOMEPAGE="http://sourceforge.net/projects/avf/" SRC_URI="mirror://sourceforge/avf/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/libc" src_compile() { subdirs="include patch kernel lib util" econf || die "./configure failed" emake || die cd lib gcc -fPIC -DHAVE_CONFIG_H -I../include -Wall -W -g -O2 -c *.c gcc -shared -Wl,-soname,libfuse.so.${PV:0:1} -o libfuse.so.${PV} *.o cd .. #make -C example clean #rm -rf example/.deps/ } src_install() { einstall DESTDIR="${D}" }