blob: 877ed9fa49687120511328394f77a7dce8458659 (
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
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1.ebuild,v 1.2 2002/10/04 06:01:40 vapier Exp $
S=${WORKDIR}/${PN}
DESCRIPTION="ISDN-4-Linux Utils"
SRC_URI="ftp://ftp.isdn4linux.de/pub/isdn4linux/utils/${PN}.v3.2p1.tar.bz2"
HOMEPAGE="http://www.isdn4linux.de/"
SLOT="0"
KEYWORDS="x86"
LICENSE="GPL-2"
DEPEND="virtual/glibc
>=virtual/linux-sources-2.4
>=sys-libs/ncurses-5.1
>=sys-libs/gdbm-1.8.0
mysql? ( >=dev-db/mysql-3.23.26 )
>=dev-lang/tk-8.3"
src_unpack() {
unpack ${PN}.v3.2p1.tar.bz2
cd ${S}
cp ${FILESDIR}/${P}.config .config
}
src_compile() {
cd ${S}
make subconfig || die
make || die
}
src_install() {
cd ${S}
dodir /dev
dodir /usr/sbin
dodir /usr/bin
make DESTDIR=${D} install || die
dodoc COPYING NEWS README Mini-FAQ/isdn-faq.txt
mv ${D}/usr/doc/vbox ${D}/usr/doc/${P}
cp -f ${FILESDIR}/local.start ${D}/usr/doc/${P}/local.start
}
pkg_postinst() {
einfo
einfo "Please remember to edit your /etc/modules.autoload to load the ISDN kernel modules !!"
einfo "Also make sure to edit the /etc/isdn/* files. "
einfo "In /usr/doc/${P} you can find an local.start example, which shows how to start some utils."
einfo
}
|