blob: 79f0c5a58ca1a653203ac18af20ef3feda828436 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-util/ucon64/ucon64-1.9.8.3.ebuild,v 1.2 2004/06/24 23:32:24 agriffis Exp $
MAJ_PV=${PV:0:5}
MIN_PV=${PV:6:7}
MY_P="${PN}-${MAJ_PV}-${MIN_PV}-src"
DESCRIPTION="The backup tool and wonderful emulator's Swiss Army knife program"
HOMEPAGE="http://ucon64.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND="virtual/glibc
sys-libs/zlib"
S="${WORKDIR}/${MY_P}/src"
src_install() {
dobin ucon64 || die "dobin failed"
dolib.so libdiscmage/discmage.so || die "dolib.so failed"
dodoc GoodCodes.txt || die "dodoc failed"
dohtml -x src -r -A png,jpg ../ || die "dohtml failed"
}
pkg_postinst() {
echo
einfo "In order to use ${PN}, please create the directory ~/.ucon64/dat"
einfo "The command to do that is:"
einfo " mkdir -p ~/.ucon64/dat"
einfo "Then, you can copy your DAT file collection to ~/.ucon64/dat"
echo
einfo "To enable Discmage support, cp /usr/lib/discmage.so to ~/.ucon64"
einfo "The command to do that is:"
einfo " cp /usr/lib/discmage.so ~/.ucon64/"
echo
einfo "Be sure to check ~/.ucon64rc for some options after"
einfo "you've run uCON64 for the first time"
}
|