diff options
-rwxr-xr-x[-rw-r--r--] | abs/core/ceton_infinitv/98-ctn91xx.rules | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | abs/core/ceton_infinitv/PKGBUILD | 25 | ||||
-rwxr-xr-x | abs/core/ceton_infinitv/ifctn.sh | 2 |
3 files changed, 18 insertions, 11 deletions
diff --git a/abs/core/ceton_infinitv/98-ctn91xx.rules b/abs/core/ceton_infinitv/98-ctn91xx.rules index c690c4b..dc91d36 100644..100755 --- a/abs/core/ceton_infinitv/98-ctn91xx.rules +++ b/abs/core/ceton_infinitv/98-ctn91xx.rules @@ -1 +1 @@ -KERNEL=="ctn91xx_*", MODE="0666",OWNER="root",GROUP="root" SYMLINK+="ceton/%k" +KERNEL=="ctn91xx_*", MODE="0666",OWNER="root",GROUP="root" SYMLINK+="ceton/%k", RUN+="/usr/LH/bin/ifctn.sh" diff --git a/abs/core/ceton_infinitv/PKGBUILD b/abs/core/ceton_infinitv/PKGBUILD index 08956ff..758a344 100644..100755 --- a/abs/core/ceton_infinitv/PKGBUILD +++ b/abs/core/ceton_infinitv/PKGBUILD @@ -3,7 +3,7 @@ pkgname=ceton_infinitv _kernver=3.6.7-1-ARCH pkgver=2012_1116_1219 -pkgrel=1 +pkgrel=2 usb_pkgver=0.1.0 pkgdesc="Drivers for Ceton InfiniTV4 - pci/usb " arch=('i686' 'x86_64') @@ -15,30 +15,35 @@ install=ceton.install source=("http://cetoncorp.com/downloads/ceton_infinitv_linux_driver_$pkgver.tar.gz" "98-ctn91xx.rules" "http://cetoncorp.com/downloads/infinitv-usbd-$usb_pkgver.tar.gz" - "ceton_usb_init.sh" + "ceton_usb_init.sh" "ifctn.sh" "ceton_usb_udev.rules" "http://cetoncorp.com/downloads/reset_network.py" ) build() { cd $startdir/src/ceton_infinitv_linux_driver make KERNEL_VERSION=$_kernver - install -Dm755 ctn91xx.ko ${pkgdir}/lib/modules/$_kernver/extra/ctn91xx.ko - install -Dm755 $srcdir/98-ctn91xx.rules $pkgdir/etc/udev/rules.d/98-ctn91xx.rules - #usb support - cp $srcdir/ceton_usb_udev.rules $pkgdir/etc/udev/rules.d/ cd $startdir/src/infinitv-usbd-$usb_pkgver LDFLAGS="/usr/lib/libgthread-2.0.so" ./configure --prefix=/usr make make DESTDIR=${pkgdir} install - mkdir -p $pkgdir/usr/LH/bin - install -Dm755 $srcdir/ceton_usb_init.sh $pkgdir/usr/LH/bin/ - install -m755 $srcdir/reset_network.py $pkgdir/usr/bin/infinitv_reset_network.py +} + +package() { + install -Dm755 ${srcdir}/ceton_infinitv_linux_driver/ctn91xx.ko ${pkgdir}/lib/modules/$_kernver/extra/ctn91xx.ko + install -Dm755 ${srcdir}/98-ctn91xx.rules ${pkgdir}/etc/udev/rules.d/98-ctn91xx.rules + #usb support + cp ${srcdir}/ceton_usb_udev.rules ${pkgdir}/etc/udev/rules.d/ + mkdir -p ${pkgdir}/usr/LH/bin + install -Dm755 ${srcdir}/ceton_usb_init.sh ${pkgdir}/usr/LH/bin/ + install -Dm755 ${srcdir}/ifctn.sh ${pkgdir}/usr/LH/bin/ + install -m755 ${srcdir}/reset_network.py ${pkgdir}/usr/bin/infinitv_reset_network.py } md5sums=('7c56167bfa89d228bf170962bc42ac01' - '554f2c1bcc5d7169659f0ad3d8a513a5' + '104092cdb5bfc54ddc53f768bff7937d' 'b5db78e2b9cccd65d6ea4c88dd028ace' '9f95a08bdd8c2a9e8d62e7daf52a90f6' + '3fc4c4981d2dab54b297f17564b7729f' '8da7dd477d7d47f03e85be4d6476e183' 'e48d82ff70b05a74aaace9cdcb6875db') diff --git a/abs/core/ceton_infinitv/ifctn.sh b/abs/core/ceton_infinitv/ifctn.sh new file mode 100755 index 0000000..7d7265d --- /dev/null +++ b/abs/core/ceton_infinitv/ifctn.sh @@ -0,0 +1,2 @@ +#!/bin/bash +/sbin/ifconfig ctn0 192.168.200.254 netmask 255.255.255.0 up |