diff options
Diffstat (limited to 'net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1.ebuild')
-rw-r--r-- | net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1.ebuild new file mode 100644 index 000000000000..e31dc72b1bfd --- /dev/null +++ b/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1.ebuild,v 1.1 2002/08/09 00:28:34 verwilst 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 + +} |