summaryrefslogtreecommitdiff
blob: 28bb84bd5c15b3b1dd584beacd8e2e7ac1c181cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-arch/unlzx/unlzx-1.1.ebuild,v 1.2 2002/07/11 06:30:10 drobbins Exp $

S=${WORKDIR}/${P}

DESCRIPTION="Unarchiver for Amiga LZX archives"

#This site is listed as the master site in NetBSD makefile
SRC_URI="ftp://us.aminet.net/pub/aminet/misc/unix/${PN}.c.gz ftp://us.aminet.net/pub/aminet/misc/unix/${PN}.c.gz.readme"

#For lack of anything better
HOMEPAGE="ftp://us.aminet.net/pub/aminet/misc/unix/${PN}.c.gz.readme"

DEPEND="virtual/glibc"

src_unpack() {
   
   mkdir ${S}
   gzip -dc ${DISTDIR}/${PN}.c.gz > ${S}/unlzx.c
   cp ${DISTDIR}/${PN}.c.gz.readme  ${S}/${PN}.c.gz.readme

}

src_compile() {
	
    gcc ${CFLAGS} -o unlzx unlzx.c

}

src_install () {

	dobin unlzx

	dodoc unlzx.c.gz.readme

}