diff options
author | Seth Chandler <sethbc@gentoo.org> | 2003-02-16 07:14:50 +0000 |
---|---|---|
committer | Seth Chandler <sethbc@gentoo.org> | 2003-02-16 07:14:50 +0000 |
commit | dc1d71b1b18f4a96fa86290471674cf0917d798e (patch) | |
tree | ff2a00964135b114133548fbc030db09aa76962e /app-misc/fujiplay/fujiplay-1.33.ebuild | |
parent | added gpart to portage... (diff) | |
download | gentoo-2-dc1d71b1b18f4a96fa86290471674cf0917d798e.tar.gz gentoo-2-dc1d71b1b18f4a96fa86290471674cf0917d798e.tar.bz2 gentoo-2-dc1d71b1b18f4a96fa86290471674cf0917d798e.zip |
added fujiplay to p0rtage
Diffstat (limited to 'app-misc/fujiplay/fujiplay-1.33.ebuild')
-rw-r--r-- | app-misc/fujiplay/fujiplay-1.33.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-misc/fujiplay/fujiplay-1.33.ebuild b/app-misc/fujiplay/fujiplay-1.33.ebuild new file mode 100644 index 000000000000..b5e7716798bf --- /dev/null +++ b/app-misc/fujiplay/fujiplay-1.33.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +DESCRIPTION="Utility for Fujifilm/Leica digital cameras (via serial port)" +SRC_URI="http://topo.math.u-psud.fr/~bousch/fujiplay.tgz" +HOMEPAGE="http://topo.math.u-psud.fr/~bousch/fujiplay.html" + +SLOT="0" +KEYWORDS="x86" +LICENSE="public-domain" + +DEPEND="virtual/glibc" +RDEPEND="" + +S=${WORKDIR} + +src_compile() { +# bash + cd fujiplay-1.33 + emake || die +} + +src_install() { + cd fujiplay-1.33 + into /usr + dobin fujiplay yycc2ppm + dodoc README fujiplay.lsm mx700-commands.html + emake all clean +} + +pkg_postinst() { + ln -s /dev/ttyS0 /dev/fujifilm + einfo "A symbolic link /dev/ttyS0 -> /dev/fujifilm was created." + einfo "You may want to create a serial group to allow non-root" + einfo "members R/W access to the serial device." + echo +} + +pkg_postrm() { + rm -f /dev/fujifilm + echo + einfo "The symbolic link /dev/fujifilm was removed." + echo +} + |