/[gentoo-x86]/app-arch/undms/undms-1.3.ebuild
Gentoo

Contents of /app-arch/undms/undms-1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Sep 20 02:55:31 2010 UTC (9 years, 10 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
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)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/undms/undms-1.3.ebuild,v 1.7 2010/01/01 19:42:04 fauli Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Decompress Amiga DMS disk images to ADF"
8 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"
9 HOMEPAGE="ftp://us.aminet.net/pub/aminet/misc/unix/${P}.c.Z.readme"
10 LICENSE="freedist"
11 SLOT="0"
12 KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
13 IUSE=""
14
15 DEPEND="app-arch/ncompress"
16
17 src_unpack() {
18 mkdir "${S}"
19 uncompress -dc "${DISTDIR}"/${P}.c.Z > "${S}"/undms.c
20 cp "${DISTDIR}"/${P}.c.Z.readme "${S}"/${P}.c.Z.readme
21 }
22
23 src_compile() {
24 gcc ${CFLAGS} -o undms undms.c || die "Compilation failed"
25 }
26
27 src_install() {
28 dobin undms
29 dodoc ${P}.c.Z.readme
30 }

  ViewVC Help
Powered by ViewVC 1.1.20