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
commit10d2ed7acf35a4fcc22eb08c7a0af7718ceef516 (patch)
tree4b9ba36fec9c9203109cfe100ccb22ba16ec3c5f /media-video/mpglen
parentDrop virtual/libc dependency. (diff)
downloadhistorical-10d2ed7acf35a4fcc22eb08c7a0af7718ceef516.tar.gz
historical-10d2ed7acf35a4fcc22eb08c7a0af7718ceef516.tar.bz2
historical-10d2ed7acf35a4fcc22eb08c7a0af7718ceef516.zip
Drop virtual/libc dependency. Respect CC, CFLAGS and LDFLAGS.
Package-Manager: portage-2.1_pre5-r4
Diffstat (limited to 'media-video/mpglen')
-rw-r--r--media-video/mpglen/ChangeLog8
-rw-r--r--media-video/mpglen/Manifest10
-rw-r--r--media-video/mpglen/metadata.xml8
-rw-r--r--media-video/mpglen/mpglen-0.1.ebuild19
4 files changed, 32 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/Manifest b/media-video/mpglen/Manifest
index e421d88691bd..aea3b41fba6a 100644
--- a/media-video/mpglen/Manifest
+++ b/media-video/mpglen/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 25e0f5ce505d87ce3716956b736e6d58 ChangeLog 849
RMD160 c6da71d4cce9e3e79eb10d8827dbd2f08001f191 ChangeLog 849
SHA256 a1400c0ee4e3320dc5a2e0e055f019fae4bbd49c00e16a05ad3c6e75b00e6a65 ChangeLog 849
@@ -10,3 +13,10 @@ SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812 metadata
MD5 b27d10452958e59cd793ead4da358582 mpglen-0.1.ebuild 780
RMD160 594309c1b8e74d0f6390a71961ea88d3fd83ef97 mpglen-0.1.ebuild 780
SHA256 a9a77accac274fbce33bcbaec56812d2083d7cd3b072f52acd0dcb2ed5e5e167 mpglen-0.1.ebuild 780
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.1 (GNU/Linux)
+
+iD8DBQFEDbieAiZjviIA2XgRAg6AAJwIHrpDuE9ICtAU20eArMT1ePVVsgCg1XIn
+1T3azhpUG/eh7qZNXvW99vs=
+=V1Zg
+-----END PGP SIGNATURE-----
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
}