diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2006-01-23 21:08:05 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2006-01-23 21:08:05 +0000 |
commit | 2e4086ef72e1daf52df44e4cde87ba611c412976 (patch) | |
tree | 0f992aaa9ecee84416cc46a13bb83243d58be26b /media-libs/libifp | |
parent | fix broken filesdir (diff) | |
download | gentoo-2-2e4086ef72e1daf52df44e4cde87ba611c412976.tar.gz gentoo-2-2e4086ef72e1daf52df44e4cde87ba611c412976.tar.bz2 gentoo-2-2e4086ef72e1daf52df44e4cde87ba611c412976.zip |
new package
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'media-libs/libifp')
-rw-r--r-- | media-libs/libifp/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/libifp/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libifp/files/digest-libifp-1.0.0.2 | 1 | ||||
-rw-r--r-- | media-libs/libifp/libifp-1.0.0.2.ebuild | 50 | ||||
-rw-r--r-- | media-libs/libifp/metadata.xml | 13 |
5 files changed, 77 insertions, 0 deletions
diff --git a/media-libs/libifp/ChangeLog b/media-libs/libifp/ChangeLog new file mode 100644 index 000000000000..a1e1ffdae185 --- /dev/null +++ b/media-libs/libifp/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for media-libs/libifp +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/ChangeLog,v 1.1 2006/01/23 21:08:05 chutzpah Exp $ + +*libifp-1.0.0.2 (23 Jan 2006) + + 23 Jan 2006; Patrick McLean <chutzpah@gentoo.org> +metadata.xml, +libifp-1.0.0.2.ebuild: + Initial version, ebuild submitted by Przemyslaw Maciag <p_maciag@wp.pl>. + diff --git a/media-libs/libifp/Manifest b/media-libs/libifp/Manifest new file mode 100644 index 000000000000..0bc9951a4a70 --- /dev/null +++ b/media-libs/libifp/Manifest @@ -0,0 +1,4 @@ +MD5 42924350183dd9c065ea2475eea8739f ChangeLog 316 +MD5 222b4c8ee3a7125ba0a9e275d2ee3a45 files/digest-libifp-1.0.0.2 66 +MD5 e7235f3538ead04d0ed318edfb0497fa libifp-1.0.0.2.ebuild 1247 +MD5 e40401b5ef2b72207a56070209442827 metadata.xml 377 diff --git a/media-libs/libifp/files/digest-libifp-1.0.0.2 b/media-libs/libifp/files/digest-libifp-1.0.0.2 new file mode 100644 index 000000000000..bb3032253028 --- /dev/null +++ b/media-libs/libifp/files/digest-libifp-1.0.0.2 @@ -0,0 +1 @@ +MD5 d4114794b13bd32b6b767e0870df6fc4 libifp-1.0.0.2.tar.gz 358550 diff --git a/media-libs/libifp/libifp-1.0.0.2.ebuild b/media-libs/libifp/libifp-1.0.0.2.ebuild new file mode 100644 index 000000000000..fea49730ca55 --- /dev/null +++ b/media-libs/libifp/libifp-1.0.0.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/libifp-1.0.0.2.ebuild,v 1.1 2006/01/23 21:08:05 chutzpah Exp $ + +DESCRIPTION="A general-purpose library-driver for iRiver's iFP portable audio players." +HOMEPAGE="http://ifp-driver.sourceforge.net/libifp/" +SRC_URI="mirror://sourceforge/ifp-driver/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc examples module" + +DEPEND=">=dev-libs/libusb-0.1.0 + doc? >=app-doc/doxygen-1.3.7" + +RDEPEND=">=dev-libs/libusb-0.1.0 + module? ( + kernel_linux? ( ~media-sound/libifp-module-${PV} ) + )" + +src_compile() { + # hack to prevent docs from building + use doc || DOCS="have_doxygen=no" + + eval $DOCS econf \ + --with-libusb \ + --with-libifp \ + --without-kmodule \ + $(use_enable examples) \ + || die "configure failed" + + emake || die "emake failed" +} + +src_install() { + make install DESTDIR="${D}" || die "make install failed" + + # clean /usr/bin after installation + # by moving examples to examples dir + if use examples; then + insinto /usr/share/${PN}/examples + doins ${S}/examples/simple.c ${S}/examples/ifpline.c + mv ${D}/usr/bin/{simple,ifpline} ${D}/usr/share/${PN}/examples + else + rm -f ${D}/usr/bin/{simple,ifpline} + fi + + use doc && dodoc README ChangeLog TODO +} diff --git a/media-libs/libifp/metadata.xml b/media-libs/libifp/metadata.xml new file mode 100644 index 000000000000..1162f6d9237a --- /dev/null +++ b/media-libs/libifp/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +<maintainer> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> +</maintainer> +<longdescription lang="en"> +A general-purpose library-driver for iRiver's iFP portable audio players." +</longdescription> +</pkgmetadata> + |