# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils EICON_DRIVERVERSION="107.775-1" DESCRIPTION="A GPL version of the firmware files for ISDN cards from Eicon Networks" HOMEPAGE="http://www.melware.de/en/" SRC_URI="ftp://ftp.melware.de/divas/v3/divas4linux-melware-${PV}-${EICON_DRIVERVERSION}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" S=${WORKDIR}/divas4linux-melware-${PV}-${EICON_DRIVERVERSION}/firmware src_install() { INSTDIR="/usr/lib/divas" einfo "Installing eicon firmware..." dodir ${INSTDIR} mv ${WORKDIR}/divas4linux-melware-${PV}-${EICON_DRIVERVERSION}/firmware/* ${D}${INSTDIR} } pkg_postinst() { echo einfo "The firmware binary is card specific. The divactrl utility will" einfo "choose the correct one depending on the card and the user settings." einfo "" einfo "The file names for the firmware binaries are constructed like this:" einfo "" einfo " te_." einfo "" einfo " is dmlt for multilingual firmware (ETSI, NI-1, ... except 1TR6)" einfo " etsi for ETSI/DSS1 firmware (this is separate for older cards)" einfo " 1tr6 for german 1TR6 firmware" einfo " ..." einfo "" einfo " is sm for BRI card" einfo " pm for PRI card" einfo " qm? for 4BRI card" einfo " 2q? for BRI and 4BRI Version 2 and 2FX" einfo " pm2 for PRI Version 2" echo }