summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/rtl8192se/ChangeLog9
-rw-r--r--net-wireless/rtl8192se/rtl8192se-2.6.0017.0705.2010-r1.ebuild48
-rw-r--r--net-wireless/rtl8192se/rtl8192se-2.6.0017.0705.2010.ebuild30
3 files changed, 56 insertions, 31 deletions
diff --git a/net-wireless/rtl8192se/ChangeLog b/net-wireless/rtl8192se/ChangeLog
index a1ba16f5740c..873af663d740 100644
--- a/net-wireless/rtl8192se/ChangeLog
+++ b/net-wireless/rtl8192se/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-wireless/rtl8192se
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl8192se/ChangeLog,v 1.3 2010/09/17 13:40:13 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl8192se/ChangeLog,v 1.4 2010/09/21 20:29:10 chithanh Exp $
+
+*rtl8192se-2.6.0017.0705.2010-r1 (21 Sep 2010)
+
+ 21 Sep 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ -rtl8192se-2.6.0017.0705.2010.ebuild,
+ +rtl8192se-2.6.0017.0705.2010-r1.ebuild:
+ Installation and build system fixes, bug #338054
17 Sep 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
rtl8192se-2.6.0017.0705.2010.ebuild:
diff --git a/net-wireless/rtl8192se/rtl8192se-2.6.0017.0705.2010-r1.ebuild b/net-wireless/rtl8192se/rtl8192se-2.6.0017.0705.2010-r1.ebuild
new file mode 100644
index 000000000000..01978ad50f21
--- /dev/null
+++ b/net-wireless/rtl8192se/rtl8192se-2.6.0017.0705.2010-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl8192se/rtl8192se-2.6.0017.0705.2010-r1.ebuild,v 1.1 2010/09/21 20:29:10 chithanh Exp $
+
+EAPI=3
+
+inherit base linux-info linux-mod
+
+MY_P="${PN}_linux_${PV}"
+
+DESCRIPTION="RTL8191SE/8192SE wireless chipset driver"
+HOMEPAGE="http:///www.realtek.com.tw/"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${PN}-include-semaphore.patch )
+CONFIG_CHECK="CFG80211 MAC80211"
+
+MODULE_NAMES="r8192se_pci(${PN}::${S}/HAL/rtl8192)"
+BUILD_TARGETS="all"
+
+src_prepare() {
+ base_src_prepare
+
+ # fix build system, bug #338054 from sabayon
+ ebegin "Fixing broken build system..."
+ for rtl_makefile in "${S}/Makefile" "${S}/HAL/rtl8192/Makefile" "${S}/rtllib/Makefile"; do
+ sed -i "${rtl_makefile}" -e "s:\`uname -r\`:${KV_FULL}:g" || die "Unable to patch Makefile"
+ sed -i "${rtl_makefile}" -e "s:\$(shell uname -r):${KV_FULL}:g" || die "Unable to patch Makefile (2)"
+ sed -i "${rtl_makefile}" -e "s:\$(shell uname -r|cut -d. -f1,2):${KV_MAJOR}.${KV_MINOR}:g" || die "Unable to patch Makefile (3)"
+ sed -i "${rtl_makefile}" -e "s:\$(shell uname -r | cut -d. -f1,2,3,4):${KV_FULL}:g" || die "Unable to patch Makefile (4)"
+ # useless... moblin stuff
+ sed -i "${rtl_makefile}" -e "s:\$(shell uname -r | cut -d. -f6 | cut -d- -f1):${KV_LOCAL}:g" || die "Unable to patch Makefile (5)"
+ # do not run depmod -a
+ sed -i "${rtl_makefile}" -e 's:/sbin/depmod -a ${shell uname -r}::g' || die "Unable to patch Makefile (6)"
+ done
+ eend $?
+}
diff --git a/net-wireless/rtl8192se/rtl8192se-2.6.0017.0705.2010.ebuild b/net-wireless/rtl8192se/rtl8192se-2.6.0017.0705.2010.ebuild
deleted file mode 100644
index d95f859f4dec..000000000000
--- a/net-wireless/rtl8192se/rtl8192se-2.6.0017.0705.2010.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl8192se/rtl8192se-2.6.0017.0705.2010.ebuild,v 1.3 2010/09/17 13:40:13 chithanh Exp $
-
-EAPI=3
-
-inherit base linux-info linux-mod
-
-MY_P="${PN}_linux_${PV}"
-
-DESCRIPTION="RTL8191SE/8192SE wireless chipset driver"
-HOMEPAGE="http:///www.realtek.com.tw/"
-SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=( "${FILESDIR}"/${PN}-include-semaphore.patch )
-CONFIG_CHECK="CFG80211 MAC80211"
-
-MODULE_NAMES="r8192se_pci(kernel/drivers/${CATEGORY/-//}/${PN}::${S}/HAL/rtl8192)"
-BUILD_TARGETS="all"