# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" DESCRIPTION="Access a regular directory case-insensitively" HOMEPAGE="http://www.brain-dump.org/projects/ciopfs/" SRC_URI="http://www.brain-dump.org/projects/ciopfs/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+unicode" DEPEND="sys-fs/fuse sys-apps/attr unicode? ( dev-libs/glib:2 )" RDEPEND="${RDEPEND}" src_prepare() { sed -i "s:FUSE_USE_VERSION=26:FUSE_USE_VERSION=28:g" config.mk || die } src_compile() { # Makefile is a bit brain damaged. if use unicode; then emake unicode-glib || die "emake failed" else emake ascii || die "emake failed" fi } src_install() { dobin "${PN}" || die }