Commit 6a21e52f authored by abveritas's avatar abveritas

acpi-call rename after switch to source tar, ndis, tiacx, broadcom, vhba rebuild for 3.7.3

parent c30d6b6a
...@@ -3,60 +3,50 @@ ...@@ -3,60 +3,50 @@
# #
# maintainer abveritas@chakra-project.org # maintainer abveritas@chakra-project.org
_kver="3.6.6-1-CHAKRA" _kver="3.7.3-1-CHAKRA"
pkgname=acpi_call pkgname=acpi-call
pkgver=20120613 _pkgname=acpi_call
pkgrel=6 pkgver=1.0.0
pkgrel=1
pkgdesc="A kernel module that enables you to call parameterless ACPI methods by writing the method name to /proc/acpi/call, e.g. to turn off discrete graphics card in a dual graphics environment (like NVIDIA Optimus)." pkgdesc="A kernel module that enables you to call parameterless ACPI methods by writing the method name to /proc/acpi/call, e.g. to turn off discrete graphics card in a dual graphics environment (like NVIDIA Optimus)."
arch=('x86_64') arch=('x86_64')
url=("http://github.com/mkottman/acpi_call") url=("http://github.com/mkottman/acpi_call")
license=('GPL') license=('GPL')
depends=('linux>=3.6' 'linux<3.7' 'linux-headers') depends=('linux>=3.7' 'linux<3.8' 'linux-headers')
makedepends=('git') makedepends=('git')
provides=('acpi_call')
replaces=('acpi_call')
conflicts=('acpi_call')
install=acpi_call.install install=acpi_call.install
source=("http://chakra-linux.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz") source=("https://github.com/mkottman/acpi_call/archive/v${pkgver}.tar.gz")
md5sums=('fcee74cba78ff644b43d60e046864b9e') md5sums=('3c71239792ddd725d13f7c8d168b4ecf')
# create tarball: source PKGBUILD && mksource
mksource() {
git clone http://github.com/mkottman/acpi_call.git
pushd acpi_call
popd
tar -cvJf ${pkgname}-${pkgver}.tar.xz acpi_call/*
md5sum ${pkgname}-${pkgver}.tar.xz
}
build() { build() {
cd ${srcdir} cd ${srcdir}/$_pkgname-${pkgver}
## Build
#rm -rf ${srcdir}/$pkgname-${pkgver}-build
#cp -r ${srcdir}/$pkgname-${pkgver} ${srcdir}/$pkgname${pkgver}-build
cd ${srcdir}/$pkgname-${pkgver}
make make
} }
package() { package() {
cd ${srcdir}/$pkgname-${pkgver} cd ${srcdir}/$_pkgname-${pkgver}
install -d ${pkgdir}/usr/share/$pkgname install -d ${pkgdir}/usr/share/$_pkgname
install -d ${pkgdir}/usr/bin install -d ${pkgdir}/usr/bin
install -Dm755 ${srcdir}/$pkgname-${pkgver}/asus1215n.sh \ install -Dm755 ${srcdir}/$_pkgname-${pkgver}/examples/asus1215n.sh \
${pkgdir}/usr/share/$pkgname ${pkgdir}/usr/share/$_pkgname
install -Dm755 ${srcdir}/$pkgname-${pkgver}/m11xr2.sh \ install -Dm755 ${srcdir}/$_pkgname-${pkgver}/examples/m11xr2.sh \
${pkgdir}/usr/share/$pkgname ${pkgdir}/usr/share/$_pkgname
install -Dm755 ${srcdir}/$pkgname-${pkgver}/query_dsdt.pl \ install -Dm755 ${srcdir}/$_pkgname-${pkgver}/examples/dellL702X.sh \
${pkgdir}/usr/share/$pkgname ${pkgdir}/usr/share/$_pkgname
install -Dm755 ${srcdir}/$pkgname-${pkgver}/test_off.sh \ install -Dm755 ${srcdir}/$_pkgname-${pkgver}/examples/turn_off_gpu.sh \
${pkgdir}/usr/share/$pkgname ${pkgdir}/usr/share/$_pkgname
ln -s /usr/share/$pkgname/test_off.sh \ ln -s /usr/share/$_pkgname/turn_off_gpu.sh \
${pkgdir}/usr/bin/test_off.sh ${pkgdir}/usr/bin/turn_off_gpu.sh
cp -R windump_hack \ install -Dm755 ${srcdir}/$_pkgname-${pkgver}/support/query_dsdt.pl \
${pkgdir}/usr/share/$pkgname/ ${pkgdir}/usr/share/$_pkgname-${pkgver}
install -Dm644 README \ cp -R support/windump_hack \
${pkgdir}/usr/share/$pkgname/README ${pkgdir}/usr/share/$_pkgname/
install -Dm644 README.md \
${pkgdir}/usr/share/$_pkgname/README.md
msg2 "Building module for $_kver..." msg2 "Building module for $_kver..."
......
...@@ -4,17 +4,17 @@ ...@@ -4,17 +4,17 @@
# maintainer abveritas@chakra-project.org # maintainer abveritas@chakra-project.org
# Find the kernel name inside the chroot # Find the kernel name inside the chroot
_extramodules=extramodules-3.6-CHAKRA _extramodules=extramodules-3.7-CHAKRA
_kver="$(cat /lib/modules/${_extramodules}/version)" _kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=broadcom-wl pkgname=broadcom-wl
pkgver=5.100.82.112 pkgver=5.100.82.112
pkgrel=13 pkgrel=14
pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver' pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver'
arch=('x86_64') arch=('x86_64')
url='http://www.broadcom.com/support/802.11/linux_sta.php' url='http://www.broadcom.com/support/802.11/linux_sta.php'
license=('custom') license=('custom')
depends=('linux>=3.6' 'linux<3.7') depends=('linux>=3.7' 'linux<3.8')
makedepends=('linux-headers') makedepends=('linux-headers')
source=("http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v${pkgver//./_}.tar.gz" source=("http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v${pkgver//./_}.tar.gz"
......
...@@ -3,32 +3,35 @@ ...@@ -3,32 +3,35 @@
# #
# maintainer abveritas@chakra-project.org # maintainer abveritas@chakra-project.org
_extramodules=extramodules-3.6-CHAKRA _extramodules=extramodules-3.7-CHAKRA
_kver="$(cat /lib/modules/${_extramodules}/version)" _kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=ndiswrapper pkgname=ndiswrapper
pkgver=1.57 pkgver=1.57
pkgrel=10 pkgrel=11
pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For linux-testing." pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For linux-testing."
license=('GPL') license=('GPL')
arch=('x86_64') arch=('x86_64')
url="http://ndiswrapper.sourceforge.net" url="http://ndiswrapper.sourceforge.net"
install="ndiswrapper.install" install="ndiswrapper.install"
depends=('linux>=3.6' 'linux<3.7') depends=('linux>=3.7' 'linux<3.8')
provides=("ndiswrapper-utils=$pkgver") provides=("ndiswrapper-utils=$pkgver")
replaces=('ndiswrapper-utils') replaces=('ndiswrapper-utils')
conflicts=('ndiswrapper-utils') conflicts=('ndiswrapper-utils')
makedepends=('linux-headers') makedepends=('linux-headers')
source=("http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz" source=("http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz"
'linux34.patch') 'linux34.patch' 'linux37.patch')
md5sums=('7a401dc540938bf07893c67f418b6152' md5sums=('7a401dc540938bf07893c67f418b6152'
'46cb26e68de91dc3c650866fc1189c28') '46cb26e68de91dc3c650866fc1189c28'
'd0dc483d2a1dfe59353b373c2c29c499')
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"
sed -i "/modinfo/s/s/usr\//" driver/Makefile sed -i "/modinfo/s/s/usr\//" driver/Makefile
patch -p0 -i "$srcdir/linux34.patch" patch -p0 -i "$srcdir/linux34.patch"
sed -i "s|/include/linux/version.h|/include/generated/uapi/linux/version.h|g" driver/Makefile
patch -p1 -i "$srcdir/linux37.patch"
make KVERS=$_kver make KVERS=$_kver
} }
......
...@@ -5,7 +5,7 @@ post_install() ...@@ -5,7 +5,7 @@ post_install()
post_upgrade() post_upgrade()
{ {
EXTRAMODULES='extramodules-3.6-CHAKRA' EXTRAMODULES='extramodules-3.7-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version) depmod $(cat /lib/modules/$EXTRAMODULES/version)
} }
......
...@@ -3,17 +3,17 @@ ...@@ -3,17 +3,17 @@
# #
# maintainer abveritas@chakra-project.org # maintainer abveritas@chakra-project.org
_extramodules=extramodules-3.6-CHAKRA _extramodules=extramodules-3.7-CHAKRA
_kver="$(cat /lib/modules/${_extramodules}/version)" _kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=tiacx pkgname=tiacx
pkgver=20080210 pkgver=20080210
pkgrel=40 pkgrel=41
pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For stock chakra kernel" pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For stock chakra kernel"
arch=('x86_64') arch=('x86_64')
url="http://acx100.sourceforge.net/" url="http://acx100.sourceforge.net/"
license=('MPL') license=('MPL')
depends=('wireless_tools' 'linux>=3.6' 'linux<3.7' 'tiacx-firmware') depends=('wireless_tools' 'linux>=3.7' 'linux<3.8' 'tiacx-firmware')
makedepends=('linux-headers') makedepends=('linux-headers')
install=acx.install install=acx.install
source=(http://downloads.sourceforge.net/sourceforge/acx100/acx-$pkgver.tar.bz2 source=(http://downloads.sourceforge.net/sourceforge/acx100/acx-$pkgver.tar.bz2
......
...@@ -5,7 +5,7 @@ post_install() ...@@ -5,7 +5,7 @@ post_install()
post_upgrade() post_upgrade()
{ {
EXTRAMODULES='extramodules-3.6-CHAKRA' EXTRAMODULES='extramodules-3.7-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version) depmod $(cat /lib/modules/$EXTRAMODULES/version)
} }
......
...@@ -3,17 +3,17 @@ ...@@ -3,17 +3,17 @@
# #
# maintainer abveritas@chakra-project.org # maintainer abveritas@chakra-project.org
_extramodules=extramodules-3.6-CHAKRA _extramodules=extramodules-3.7-CHAKRA
_kver="$(cat /lib/modules/${_extramodules}/version)" _kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=vhba-module pkgname=vhba-module
pkgver=20120422 pkgver=20120422
pkgrel=6 pkgrel=7
pkgdesc="Kernel module that emulates SCSI devices" pkgdesc="Kernel module that emulates SCSI devices"
arch=('x86_64') arch=('x86_64')
url="http://cdemu.sourceforge.net/" url="http://cdemu.sourceforge.net/"
license=('GPL2') license=('GPL2')
depends=('linux>=3.6' 'linux<3.7') depends=('linux>=3.7' 'linux<3.8')
makedepends=('linux-headers') makedepends=('linux-headers')
install=vhba-module.install install=vhba-module.install
source=("http://sourceforge.net/projects/cdemu/files/vhba-module/vhba-module-$pkgver.tar.bz2" source=("http://sourceforge.net/projects/cdemu/files/vhba-module/vhba-module-$pkgver.tar.bz2"
......
post_install() { post_install() {
EXTRAMODULES='extramodules-3.6-CHAKRA' EXTRAMODULES='extramodules-3.7-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version) depmod $(cat /lib/modules/$EXTRAMODULES/version)
} }
...@@ -8,7 +8,7 @@ post_upgrade() { ...@@ -8,7 +8,7 @@ post_upgrade() {
} }
post_remove() { post_remove() {
EXTRAMODULES='extramodules-3.6-CHAKRA' EXTRAMODULES='extramodules-3.7-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version) depmod $(cat /lib/modules/$EXTRAMODULES/version)
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment