|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2500/rt2500-1.1.0_pre2007020911.ebuild,v 1.5 2007/03/17 18:05:23 gmsoft Exp $ | # $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2500/rt2500-1.1.0_pre2007020911.ebuild,v 1.5 2007/03/17 18:05:23 gmsoft Exp $ |
| |
inherit eutils linux-mod kde-functions |
inherit eutils linux-mod |
set-qtdir 3 |
|
| |
MY_P="${P/_beta/-b}" | MY_P="${P/_beta/-b}" |
DESCRIPTION="Driver for the RaLink RT2500 wireless chipset" | DESCRIPTION="Driver for the RaLink RT2500 wireless chipset" |
|
|
LICENSE="GPL-2" | LICENSE="GPL-2" |
| |
KEYWORDS="amd64 hppa ppc x86" | KEYWORDS="amd64 hppa ppc x86" |
IUSE="qt3" |
DEPEND="net-wireless/wireless-tools" |
DEPEND="net-wireless/wireless-tools |
|
qt3? ( =x11-libs/qt-3* )" |
|
| |
MY_PRE_VERSION=${PV/1.1.0_pre} | MY_PRE_VERSION=${PV/1.1.0_pre} |
S="${WORKDIR}/${PN}-cvs-${MY_PRE_VERSION}" | S="${WORKDIR}/${PN}-cvs-${MY_PRE_VERSION}" |
|
|
| |
src_compile() { | src_compile() { |
linux-mod_src_compile | linux-mod_src_compile |
|
|
if use qt3; then |
|
cd "${S}"/Utilitys |
|
"${QTDIR}"/bin/qmake -o Makefile raconfig2500.pro |
|
emake || die "make Utilities failed" |
|
fi |
|
} | } |
| |
src_install() { | src_install() { |
|
|
dodoc Module/README Module/TESTING Module/iwpriv_usage.txt \ | dodoc Module/README Module/TESTING Module/iwpriv_usage.txt \ |
THANKS FAQ CHANGELOG | THANKS FAQ CHANGELOG |
| |
if use qt3; then |
|
dobin ${S}/Utilitys/RaConfig2500 |
|
doicon Utilitys/ico/RaConfig2500.xpm |
|
make_desktop_entry RaConfig2500 "RaLink RT2500 Config" RaConfig2500.xpm |
|
insinto /etc/Wireless/RT2500STA |
|
doins Module/RT2500STA.dat |
|
fi |
|
} | } |