summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-20 02:55:31 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-20 02:55:31 +0000
commitb7369c341ed7904508c0f7c6a2942d5df7d479e7 (patch)
tree252f2df123f4d41bb9459239b42ee0e8f20b41c4 /app-arch/undms
parentVersion bump. (diff)
downloadgentoo-2-b7369c341ed7904508c0f7c6a2942d5df7d479e7.tar.gz
gentoo-2-b7369c341ed7904508c0f7c6a2942d5df7d479e7.tar.bz2
gentoo-2-b7369c341ed7904508c0f7c6a2942d5df7d479e7.zip
Let unpack default to gunzip to unpack, do not DEPEND on ncompress. Do not cp or mkdir. Respect LDFLAGS (bug #337858), CC.
(Portage version: 2.2_rc84/cvs/Linux i686)
Diffstat (limited to 'app-arch/undms')
-rw-r--r--app-arch/undms/ChangeLog9
-rw-r--r--app-arch/undms/undms-1.3-r1.ebuild (renamed from app-arch/undms/undms-1.3.ebuild)18
2 files changed, 14 insertions, 13 deletions
diff --git a/app-arch/undms/ChangeLog b/app-arch/undms/ChangeLog
index d9dbad48c246..a9ce4f3cccbf 100644
--- a/app-arch/undms/ChangeLog
+++ b/app-arch/undms/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-arch/undms
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/undms/ChangeLog,v 1.8 2010/01/01 19:42:04 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/undms/ChangeLog,v 1.9 2010/09/20 02:55:31 jer Exp $
+
+*undms-1.3-r1 (20 Sep 2010)
+
+ 20 Sep 2010; Jeroen Roovers <jer@gentoo.org> -undms-1.3.ebuild,
+ +undms-1.3-r1.ebuild:
+ Let unpack default to gunzip to unpack, do not DEPEND on ncompress. Do not
+ cp or mkdir. Respect LDFLAGS (bug #337858), CC.
01 Jan 2010; Christian Faulhammer <fauli@gentoo.org> undms-1.3.ebuild:
Transfer Prefix keywords
diff --git a/app-arch/undms/undms-1.3.ebuild b/app-arch/undms/undms-1.3-r1.ebuild
index bdb0519b6bd1..e7ae36741fb9 100644
--- a/app-arch/undms/undms-1.3.ebuild
+++ b/app-arch/undms/undms-1.3-r1.ebuild
@@ -1,30 +1,24 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/undms/undms-1.3.ebuild,v 1.7 2010/01/01 19:42:04 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/undms/undms-1.3-r1.ebuild,v 1.1 2010/09/20 02:55:31 jer Exp $
-inherit eutils
+inherit toolchain-funcs
DESCRIPTION="Decompress Amiga DMS disk images to ADF"
SRC_URI="ftp://us.aminet.net/pub/aminet/misc/unix/${P}.c.Z ftp://us.aminet.net/pub/aminet/misc/unix/${P}.c.Z.readme"
-HOMEPAGE="ftp://us.aminet.net/pub/aminet/misc/unix/${P}.c.Z.readme"
+HOMEPAGE="ftp://us.aminet.net/pub/aminet/misc/unix/"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE=""
-DEPEND="app-arch/ncompress"
-
-src_unpack() {
- mkdir "${S}"
- uncompress -dc "${DISTDIR}"/${P}.c.Z > "${S}"/undms.c
- cp "${DISTDIR}"/${P}.c.Z.readme "${S}"/${P}.c.Z.readme
-}
+S="${WORKDIR}"
src_compile() {
- gcc ${CFLAGS} -o undms undms.c || die "Compilation failed"
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${P}.c || die "Compilation failed"
}
src_install() {
dobin undms
- dodoc ${P}.c.Z.readme
+ newdoc "${DISTDIR}"/${P}.c.Z.readme readme
}