summaryrefslogtreecommitdiff
blob: c11365e738190c170b47aac5f65743bd0fa37a55 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/mkisofs/mkisofs-1.13-r2.ebuild,v 1.14 2003/06/21 21:19:40 drobbins Exp $
# -r2 by Dan Armak

DESCRIPTION="Premastering program for creating iso9660 volumes"
HOMEPAGE="http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/mkisofs.html"
KEYWORDS="x86 amd64 ppc sparc alpha"
SLOT="0"
LICENSE="GPL-2"

S=${WORKDIR}/${P}
SRC_URI="ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/mkisofs/${P}.tar.gz"

src_compile() {

	emake || die

}

src_install() {							   
	
	into /usr
	local DIR

	#looks like these are no longer used
	[ -d mkisofs/OBJ/i686-linux-cc ] && DIR=i686-linux-cc
	[ -d mkisofs/OBJ/i586-linux-cc ] && DIR=i586-linux-cc
	[ -d mkisofs/OBJ/i486-linux-cc ] && DIR=i486-linux-cc
	[ -d mkisofs/OBJ/i386-linux-cc ] && DIR=i386-linux-cc

	#these should work instead (sparc guys need to add theirs here too)
	[ -d mkisofs/OBJ/x86-linux-cc ] && DIR=x86-linux-cc
	[ -d mkisofs/OBJ/ppc-linux-cc ] && DIR=ppc-linux-cc
	[ -d mkisofs/OBJ/alpha-linux-cc ] && DIR=alpha-linux-cc
	
	dobin mkisofs/OBJ/${DIR}/mkisofs
	dobin mkisofs/diag/OBJ/${DIR}/devdump
	dobin mkisofs/diag/OBJ/${DIR}/isodump
	dobin mkisofs/diag/OBJ/${DIR}/isoinfo
	dobin mkisofs/diag/OBJ/${DIR}/isovfy
	
	doman mkisofs/mkisofs.8 mkisofs/mkhybrid.8 mkisofs/apple_driver.8
	doman mkisofs/diag/isoinfo.8
	dodoc ABOUT BUILD COMPILE COPYING MKNOD* PORTING README*
	docinto mkisofs
	dodoc mkisofs/ChangeLog
	dodoc mkisofs/README* mkisofs/TODO
	
}