diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-07-05 08:14:40 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-07-05 08:14:40 +0000 |
commit | a60eda4596db5e623f738019ee5d2a714f2c0580 (patch) | |
tree | 3747dcce8e8a2f290b8551a9cb6fbea53249f31e /media-radio/fmio/fmio-2.0.8.ebuild | |
parent | Removing me as a maintainer (diff) | |
download | gentoo-2-a60eda4596db5e623f738019ee5d2a714f2c0580.tar.gz gentoo-2-a60eda4596db5e623f738019ee5d2a714f2c0580.tar.bz2 gentoo-2-a60eda4596db5e623f738019ee5d2a714f2c0580.zip |
Initial commit.
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc3 x86_64)
Diffstat (limited to 'media-radio/fmio/fmio-2.0.8.ebuild')
-rw-r--r-- | media-radio/fmio/fmio-2.0.8.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/media-radio/fmio/fmio-2.0.8.ebuild b/media-radio/fmio/fmio-2.0.8.ebuild new file mode 100644 index 000000000000..f350149af5b6 --- /dev/null +++ b/media-radio/fmio/fmio-2.0.8.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/fmio/fmio-2.0.8.ebuild,v 1.1 2008/07/05 08:14:40 drac Exp $ + +inherit toolchain-funcs + +DESCRIPTION="fm radio card manipulation utilities" +HOMEPAGE="http://jumbo.narod.ru/fmio.html" +SRC_URI="http://jumbo.narod.ru/src/fmio/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X linguas_ru" + +DEPEND="X? ( x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext )" + +src_compile() { + tc-export CC + cd "${S}"/src + emake lib fmio || die "src/emake failed." + + cd "${S}"/utils + emake bktrctl fmrinit || die "utils/emake failed." + + if use X; then + cd "${S}"/xsrc + emake wmfmio || die "xsrc/emake failed." + fi +} + +src_install() { + dobin src/fmio utils/{bktrctl,fmrinit} || die "dobin failed." + doman src/fmio.1 + #dolib.a src/libradio.a (only for experimental convinience.) + + if use X; then + dobin xsrc/wmfmio || die "xsrc/dobin failed." + doman xsrc/wmfmio.1 + fi + + use linguas_ru && dodoc doc/FAQ.ru + dodoc Changelog README doc/FAQ + + insinto /etc + newins xsrc/sample.wmfmiorc wmfmiorc || die "doins failed." +} |