summaryrefslogtreecommitdiff
blob: e1dfad3800c836f0661e04b50741d0068aff4deb (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/siefs/siefs-0.4.ebuild,v 1.2 2005/01/21 20:54:39 pylon Exp $

DESCRIPTION="Siemens FS"
HOMEPAGE="http://weidner.in-bad-schmiedeberg.de/computer/linux/debian/siefs/"
SRC_URI="http://weidner.in-bad-schmiedeberg.de/computer/linux/debian/siefs/download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""

DEPEND="<sys-fs/fuse-1.9"

src_unpack() {
	unpack ${A}
	cd ${S}/siefs
	cp Makefile.in Makefile.in.orig
	sed -e "s:-rm -f /sbin/mount.siefs:-mkdir \$(DESTDIR)/sbin/:" Makefile.in.orig > Makefile.in.2 || die "sed 1 failed"
	sed -e "s:-ln -s \$(DESTDIR)\$(bindir)/siefs /sbin/mount.siefs:-ln -s ..\$(bindir)/siefs \$(DESTDIR)/sbin/mount.siefs:" Makefile.in.2 > Makefile.in || die "sed 2 failed"
}

src_install() {
	make DESTDIR=${D} install || die "make install failed"
	dodoc README NEWS AUTHORS
}