diff options
Diffstat (limited to 'media-sound/cd-discid/cd-discid-1.3.ebuild')
-rw-r--r-- | media-sound/cd-discid/cd-discid-1.3.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/media-sound/cd-discid/cd-discid-1.3.ebuild b/media-sound/cd-discid/cd-discid-1.3.ebuild new file mode 100644 index 000000000000..651a07bb6387 --- /dev/null +++ b/media-sound/cd-discid/cd-discid-1.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit toolchain-funcs + +DESCRIPTION="returns the disc id for the cd in the cd-rom drive" +HOMEPAGE="https://github.com/taem/cd-discid" +SRC_URI="https://github.com/taem/${PN}/tarball/upstream/${PV} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ppc ppc64 x86" +IUSE="" + +DOCS=( changelog README ) + +src_unpack() { + unpack ${A} + mv *-${PN}-* "${S}" || die +} + +src_prepare() { + sed -i -e "/^\(C\|LD\)FLAGS/d" Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" +} |