summaryrefslogtreecommitdiff
blob: 7a04c5babb5d8c02a0615d1c3d4cfd4f47d3078d (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
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Ryan Tolboom <ryan@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/net-fs/ftpfs/ftpfs-0.6.2.ebuild,v 1.1 2001/12/02 14:17:10 ryan Exp

A=${P}-k2.4.tar.gz
S=${WORKDIR}/${P}-k2.4
DESCRIPTION="A filesystem for mounting FTP volumes"
SRC_URI="http://ftp1.sourceforge.net/ftpfs/${A}"
HOMEPAGE="http://ftpfs.sourceforge.net"

DEPEND="virtual/glibc
        virtual/kernel"

src_compile() {
	cd ftpfs
	try make
	cd ../ftpmount
  	try make CFLAGS="${CFLAGS}"
}

src_install() {
	try make MODULESDIR=${D}/lib/modules/${KVERS} FTPMOUNT=${D}/usr/bin/ftpmount install
	dodoc CHANGELOG
	docinto html
	dodoc docs/*.html
	docinto html/img
	dodoc docs/img/*
}

pkg_postinst() {
	try depmod -aq
}