summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 16:45:06 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 16:45:06 +0000
commit34f1e8f54f692807e032def85f892addca142425 (patch)
tree20455d7148132bcaa735e64777e5d190af21a8a3 /media-video/mpglen
parentDrop virtual/libc dependency. (diff)
downloadgentoo-2-34f1e8f54f692807e032def85f892addca142425.tar.gz
gentoo-2-34f1e8f54f692807e032def85f892addca142425.tar.bz2
gentoo-2-34f1e8f54f692807e032def85f892addca142425.zip
Drop virtual/libc dependency. Respect CC, CFLAGS and LDFLAGS.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'media-video/mpglen')
-rw-r--r--media-video/mpglen/ChangeLog8
-rw-r--r--media-video/mpglen/metadata.xml8
-rw-r--r--media-video/mpglen/mpglen-0.1.ebuild19
3 files changed, 22 insertions, 13 deletions
diff --git a/media-video/mpglen/ChangeLog b/media-video/mpglen/ChangeLog
index bfaaa26e3613..ce55e7c49367 100644
--- a/media-video/mpglen/ChangeLog
+++ b/media-video/mpglen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/mpglen
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mpglen/ChangeLog,v 1.6 2005/09/03 23:18:53 flameeyes Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mpglen/ChangeLog,v 1.7 2006/03/07 16:45:04 flameeyes Exp $
+
+ 07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> metadata.xml,
+ mpglen-0.1.ebuild:
+ Drop virtual/libc dependency. Respect CC, CFLAGS and LDFLAGS.
03 Sep 2005; Diego Pettenò <flameeyes@gentoo.org> mpglen-0.1.ebuild:
Don't install COPYING file.
diff --git a/media-video/mpglen/metadata.xml b/media-video/mpglen/metadata.xml
index c572c7d9b478..edccfe5754d2 100644
--- a/media-video/mpglen/metadata.xml
+++ b/media-video/mpglen/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>video</herd>
- <maintainer>
- <email>media-video@gentoo.org</email>
- </maintainer>
+<herd>video</herd>
+<maintainer>
+<email>media-video@gentoo.org</email>
+</maintainer>
</pkgmetadata>
diff --git a/media-video/mpglen/mpglen-0.1.ebuild b/media-video/mpglen/mpglen-0.1.ebuild
index e8470a51f478..0ec0cedc8d4a 100644
--- a/media-video/mpglen/mpglen-0.1.ebuild
+++ b/media-video/mpglen/mpglen-0.1.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mpglen/mpglen-0.1.ebuild,v 1.4 2005/09/03 23:18:53 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mpglen/mpglen-0.1.ebuild,v 1.5 2006/03/07 16:45:06 flameeyes Exp $
+
+inherit toolchain-funcs flag-o-matic
IUSE=""
-MY_S=${WORKDIR}/${PN}
+S=${WORKDIR}/${PN}
DESCRIPTION="A program to scan through a MPEG file and count the number of GOPs and frames"
HOMEPAGE="http://www.iamnota.net/mpglen/"
@@ -14,15 +16,18 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-DEPEND="virtual/libc"
+src_unpack() {
+ unpack ${A}
+
+ sed -i -e 's:gcc .* -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' ${S}/Makefile
+}
src_compile () {
- cd ${MY_S} || die
- emake || die
+ append-lfs-flags
+ emake CC="$(tc-getCC)" || die
}
src_install () {
- cd ${MY_S} || die
dobin ${PN} || die
dodoc AUTHORS Changelog README || die
}